    struct CommandFieldDetails

    extension CommandFieldDetails : Equatable, https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/FieldDetails.html, Hashable, Sendable, SendableMetatype

Details about a command field.
- `


  ### [isOptional](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/CommandFieldDetails#/s:13GoogleHomeSDK19CommandFieldDetailsV10isOptionalSbvp)


  ` Whether the field is optional.

  #### Declaration

  Swift

      let isOptional: Bool

- `


  ### [constraint](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/CommandFieldDetails#/s:13GoogleHomeSDK19CommandFieldDetailsV10constraintAA10ConstraintOSgvp)


  ` The constraint for the field.

  #### Declaration

  Swift

      let constraint: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/Constraint.html?

- `


  ### [field](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/CommandFieldDetails#/s:13GoogleHomeSDK19CommandFieldDetailsV5fieldAA0E0_pvp)


  ` The field itself.

  #### Declaration

  Swift

      let field: any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Field.html

- `


  ### [init(field:constraint:isOptional:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/CommandFieldDetails#/s:13GoogleHomeSDK19CommandFieldDetailsV5field10constraint10isOptionalAcA0E0_p_AA10ConstraintOSgSbtcfc)


  ` Undocumented

  #### Declaration

  Swift

      init(field: any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Field.html, constraint: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/Constraint.html?, isOptional: Bool)

- `


  ### [hash(into:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/CommandFieldDetails#/s:13GoogleHomeSDK19CommandFieldDetailsV4hash4intoys6HasherVz_tF)


  ` Hashes the essential components of this value by feeding them into the
  given hasher.

  Implement this method to conform to the `Hashable` protocol. The
  components used for hashing must be the same as the components compared
  in your type's `==` operator implementation. Call `hasher.combine(_:)`
  with each of these components.
  Important

  In your implementation of `hash(into:)`,
  don't call `finalize()` on the `hasher` instance provided,
  or replace it with a different instance.
  Doing so may become a compile-time error in the future.

  #### Declaration

  Swift

      func hash(into hasher: inout Hasher)

- `


  ### [==(_:_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/CommandFieldDetails#/s:13GoogleHomeSDK19CommandFieldDetailsV2eeoiySbAC_ACtFZ)


  ` Returns a Boolean value indicating whether two values are equal.

  Equality is the inverse of inequality. For any values `a` and `b`,
  `a == b` implies that `a != b` is `false`.

  #### Declaration

  Swift

      static func == (lhs: CommandFieldDetails, rhs: CommandFieldDetails) -> Bool

  #### Parameters

  |---|---|
  | ` lhs ` | A value to compare. |
  | ` rhs ` | Another value to compare. |