    struct FieldSelect

    extension FieldSelect : Equatable, https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Expression.html, Identifiable, https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/IdentifiableExpression.html, Sendable, SendableMetatype

Selects an attribute, an event field or struct field(s) from a reference expression.
- `


  ### [id](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/FieldSelect#/s:13GoogleHomeSDK11FieldSelectV2idSSvp)


  ` String identifier of the expression. Must be unique within a single automation graph.

  #### Declaration

  Swift

      let id: String

- `


  ### [from](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/FieldSelect#/s:13GoogleHomeSDK11FieldSelectV4fromAA10Expression_pvp)


  ` The `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Expression.html` to select from.

  #### Declaration

  Swift

      let from: any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Expression.html

- `


  ### [selected](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/FieldSelect#/s:13GoogleHomeSDK11FieldSelectV8selectedSayAA03AnyD0VGvp)


  ` The list of selected fields.

  #### Declaration

  Swift

      let selected: [https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyField.html]

- `


  ### [==(_:_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/FieldSelect#/s:13GoogleHomeSDK11FieldSelectV2eeoiySbAC_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: FieldSelect, rhs: FieldSelect) -> Bool

  #### Parameters

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

- `


  ### [isEqual(to:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/FieldSelect#/s:13GoogleHomeSDK11FieldSelectV7isEqual2toSbAA10Expression_p_tF)


  ` Returns true if the expressions are equal, false otherwise.

  #### Declaration

  Swift

      func isEqual(to other: any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Expression.html) -> Bool