    struct TraitChange

    extension https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HistoryItem.html.https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HistoryItem/Payload.html.TraitChange : Sendable, SendableMetatype

A state change.
- `


  ### [typeID](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HistoryItem/Payload/TraitChange#/s:13GoogleHomeSDK11HistoryItemV7PayloadO11TraitChangeV6typeIDSSvp)


  ` The type ID of the trait that changed.

  #### Declaration

  Swift

      let typeID: String

- `


  ### [oldValue](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HistoryItem/Payload/TraitChange#/s:13GoogleHomeSDK11HistoryItemV7PayloadO11TraitChangeV8oldValueAA0gF0VSgvp)


  ` The optional old value of the trait.

  #### Declaration

  Swift

      let oldValue: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TraitPayload.html?

- `


  ### [newValue](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HistoryItem/Payload/TraitChange#/s:13GoogleHomeSDK11HistoryItemV7PayloadO11TraitChangeV8newValueAA0gF0Vvp)


  ` The new value of the trait.

  #### Declaration

  Swift

      let newValue: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TraitPayload.html