    struct Face

    extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.Face : AutomationValue, DefaultConstructible, Equatable, Hashable, Sendable, StructDataRepresentable

Undocumented
- `


  ### [StructFields](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/Face/StructFields.html)


  ` Undocumented

  #### Declaration

  Swift

      enum StructFields

      extension https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/Face.html.StructFields : Equatable, Field, Hashable, RawRepresentable, Sendable

- `


  ### [structField(id:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/Face#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV0D0V11structField2id0aB3SDK0H0_pSgs6UInt32V_tFZ)


  ` Returns the field corresponding to the given field ID.

  #### Declaration

  Swift

      static func structField(id: UInt32) -> (any Field)?

- `


  ### [id](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/Face#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV0D0V2idSSSgvp)


  ` Undocumented

  #### Declaration

  Swift

      let id: String?

- `


  ### [name](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/Face#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV0D0V4nameSSSgvp)


  ` Undocumented

  #### Declaration

  Swift

      let name: String?

- `


  ### [category](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/Face#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV0D0V8categoryAE0D8CategoryOSgvp)


  ` Undocumented

  #### Declaration

  Swift

      let category: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceCategory.html?

- `


  ### [mostRepresentativeFaceInstance](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/Face#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV0D0V018mostRepresentativeD8InstanceAE0dI0VSgvp)


  ` Undocumented

  #### Declaration

  Swift

      let mostRepresentativeFaceInstance: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceInstance.html?

- `


  ### [init()](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/Face#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV0D0VAGycfc)


  ` Undocumented

  #### Declaration

  Swift

      init()

- `


  ### [init(id:name:category:mostRepresentativeFaceInstance:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/Face#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV0D0V2id4name8category018mostRepresentativeD8InstanceAGSSSg_AlE0D8CategoryOSgAE0dL0VSgtcfc)


  ` Undocumented

  #### Declaration

  Swift

      init(id: String? = nil, name: String? = nil, category: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceCategory.html? = nil, mostRepresentativeFaceInstance: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/FaceInstance.html? = nil)

- `


  ### [init(decoder:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/Face#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV0D0V7decoderAG0aB3SDK0F7DecoderV_tKcfc)


  ` Creates a new Struct instance using data read from the given `TraitDecoder`.
  Throws
  `HomeError.parseError` when parsing fails.

  #### Declaration

  Swift

      init(decoder: TraitDecoder) throws

  #### Parameters

  |---|---|
  | ` decoder ` | The raw data representing this Struct. |

- `


  ### [encode(with:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/FaceLibraryTrait/Face#/s:15GoogleHomeTypes0A0O16FaceLibraryTraitV0D0V6encode4withy0aB3SDK0F7EncoderC_tKF)


  ` Writes this Struct to the given `TraitEncoder`.
  Throws `HomeError.parseError` if the data could not be encoded.

  #### Declaration

  Swift

      func encode(with encoder: TraitEncoder) throws