struct TestFabricScopedTestFabricScoped
-
fabricSensitiveInt8uattribute.Declaration
Swift
let fabricSensitiveInt8u: UInt8 -
optionalFabricSensitiveInt8uattribute.Declaration
Swift
let optionalFabricSensitiveInt8u: UInt8? -
nullableFabricSensitiveInt8uattribute.Declaration
Swift
let nullableFabricSensitiveInt8u: UInt8? -
nullableOptionalFabricSensitiveInt8uattribute.Declaration
Swift
let nullableOptionalFabricSensitiveInt8u: UInt8? -
fabricSensitiveCharStringattribute.Declaration
Swift
let fabricSensitiveCharString: String -
fabricSensitiveStructattribute.Declaration
Swift
let fabricSensitiveStruct: Matter.UnitTestingTrait.SimpleStruct -
fabricSensitiveInt8uListattribute.Declaration
Swift
let fabricSensitiveInt8uList: [UInt8] -
fabricIndexattribute.Declaration
Swift
let fabricIndex: UInt8 -
Creates a new Struct instance using data read from the given
TraitDecoder.Throws
HomeError.parseErrorwhen parsing fails.Declaration
Swift
init(decoder: TraitDecoder) throwsParameters
decoderThe raw data representing this Struct.
-
Writes this Struct to the given
TraitEncoder. ThrowsHomeError.parseErrorif the data could not be encoded.Declaration
Swift
func encode(with encoder: TraitEncoder) throws -
Returns the field corresponding to the given field ID.
Declaration
Swift
static func structField(id: UInt32) -> (any Field)?