    @propertyWrapper
    struct TraitAttribute<Value> where Value : Sendable

    extension TraitAttribute : Sendable, SendableMetatype

Property wrapper for trait attributes, which contains metadata about the attribute.
- `


  ### [wrappedValue](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TraitAttribute#/s:13GoogleHomeSDK14TraitAttributeV12wrappedValuexSgvp)


  ` The attribute's value.

  This is always an `Optional` to support attributes not supported by the device, either
  because they are optional, or because the device doesn't comply with the matter spec.

  #### Declaration

  Swift

      let wrappedValue: Value?

- `


  ### [isSupported](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TraitAttribute#/s:13GoogleHomeSDK14TraitAttributeV11isSupportedSbvp)


  ` Whether this attribute is supported by the device.

  This reflects whether the device reports support for this attribute (by including it in
  attributeList) and provides a valid value for it.

  #### Declaration

  Swift

      let isSupported: Bool

- `


  ### [isNullable](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TraitAttribute#/s:13GoogleHomeSDK14TraitAttributeV10isNullableSbvp)


  ` Whether the attribute is nullable in the matter spec.

  Note that it is valid for this to be `false` and `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TraitAttribute.html#/s:13GoogleHomeSDK14TraitAttributeV12wrappedValuexSgvp` to be `nil`, this can happen
  if the attribute is optional, or if the device doesn't comply with the matter spec.

  #### Declaration

  Swift

      let isNullable: Bool

- `


  ### [projectedValue](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TraitAttribute#/s:13GoogleHomeSDK14TraitAttributeV14projectedValueACyxGvp)


  ` Undocumented

  #### Declaration

  Swift

      var projectedValue: TraitAttribute<Value> { get }

- `


  ### [init(wrappedValue:isSupported:isNullable:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TraitAttribute#/s:13GoogleHomeSDK14TraitAttributeV12wrappedValue11isSupported0H8NullableACyxGxSg_S2btcfc)


  ` Undocumented

  #### Declaration

  Swift

      init(wrappedValue: Value?, isSupported: Bool, isNullable: Bool)