struct MatterCommissionableDeviceextension MatterCommissionableDevice : AutomationValue, Decodable, Encodable, Equatable, Hashable, Sendable, StructDataRepresentableModel representing a Commissionable Matter device, corresponding to the proto used by the MatterCommissionerTrait.
- 
                  
                  Undocumented DeclarationSwift let discriminator: UInt32
- 
                  
                  Undocumented DeclarationSwift let discoveryModes: [MatterCommissionableDevice.DiscoveryMode]
- 
                  
                  Undocumented DeclarationSwift let vendorID: UInt32?
- 
                  
                  Undocumented DeclarationSwift let productID: UInt32?
- 
                  
                  Undocumented DeclarationSwift init(discriminator: UInt32, discoveryModes: [MatterCommissionableDevice.DiscoveryMode], vendorID: UInt32? = nil, productID: UInt32? = nil)
- 
                  
                  Creates a new Struct instance using data read from the given TraitDecoder.Throws HomeError.parseErrorwhen parsing fails.DeclarationSwift init(decoder: TraitDecoder) throwsParametersdecoderThe raw data representing this Struct. 
- 
                  
                  Writes this Struct to the given TraitEncoder. ThrowsHomeError.parseErrorif the data could not be encoded.DeclarationSwift func encode(with encoder: TraitEncoder) throws
- 
                  
                  Enumeration of the different ways a Matter device can be discovered. DeclarationSwift enum DiscoveryModeextension MatterCommissionableDevice.DiscoveryMode : Decodable, Encodable, Equatable, Hashable, RawRepresentable, Sendable
- 
                  
                  Creates a new instance by decoding from the given decoder. This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid. DeclarationSwift init(from decoder: any Decoder) throws