    struct EventCandidate

    extension EventCandidate : Copyable, Equatable, Equatable, Escapable, Hashable, Hashable, https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/NodeCandidate.html, https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/NodeCandidate.html, Sendable, Sendable, SendableMetatype, SendableMetatype, https://developers.home.google.com/reference/swift/GoogleHomeSDK/GoogleHomeSDK.html#/s:13GoogleHomeSDK16StarterCandidateP

Represents automation candidate nodes corresponding to an event. These can be used in starters.
- `


  ### [homeObject](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/EventCandidate#/s:13GoogleHomeSDK14EventCandidateV10homeObjectAA0bG0_pvp)


  ` Undocumented

  #### Declaration

  Swift

      let homeObject: any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/HomeObject.html

- `


  ### [deviceTypes](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/EventCandidate#/s:13GoogleHomeSDK14EventCandidateV11deviceTypesSayAA10DeviceType_pXpGvp)


  ` Undocumented

  #### Declaration

  Swift

      let deviceTypes: [any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/DeviceType.html.Type]

- `


  ### [trait](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/EventCandidate#/s:13GoogleHomeSDK14EventCandidateV5traitAA5Trait_pXpvp)


  ` Undocumented

  #### Declaration

  Swift

      let trait: any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Trait.html.Type

- `


  ### [fieldDetails](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/EventCandidate#/s:13GoogleHomeSDK14EventCandidateV12fieldDetailsSDyAA8AnyFieldVAA0diG0VGvp)


  ` Undocumented

  #### Declaration

  Swift

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

- `


  ### [unsupportedReasons](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/EventCandidate#/s:13GoogleHomeSDK14EventCandidateV18unsupportedReasonsSayAA011UnsupportedE6ReasonVGvp)


  ` Undocumented

  #### Declaration

  Swift

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

- `


  ### [event](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/EventCandidate#/s:13GoogleHomeSDK14EventCandidateV5eventAA0D0_pXpvp)


  ` Undocumented

  #### Declaration

  Swift

      let event: any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Event.html.Type

- `


  ### [init(homeObject:deviceTypes:trait:event:fieldDetails:unsupportedReasons:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/EventCandidate#/s:13GoogleHomeSDK14EventCandidateV10homeObject11deviceTypes5trait5event12fieldDetails18unsupportedReasonsAcA0bG0_p_SayAA10DeviceType_pXpGAA5Trait_pXpAA0D0_pXpSDyAA8AnyFieldVAA0dtM0VGSayAA011UnsupportedE6ReasonVGtcfc)


  ` Undocumented

  #### Declaration

  Swift

      init(homeObject: any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/HomeObject.html, deviceTypes: [any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/DeviceType.html.Type], trait: any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Trait.html.Type, event: any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Event.html.Type, fieldDetails: [https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyField.html : https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/EventFieldDetails.html], unsupportedReasons: [https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/UnsupportedCandidateReason.html])

- `


  ### [hash(into:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/EventCandidate#/s:13GoogleHomeSDK14EventCandidateV4hash4intoys6HasherVz_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/EventCandidate#/s:13GoogleHomeSDK14EventCandidateV2eeoiySbAC_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: EventCandidate, rhs: EventCandidate) -> Bool

  #### Parameters

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