TraitChange

struct TraitChange
extension HistoryItem.Payload.TraitChange : Sendable

A state change.

  • The type ID of the trait that changed.

    Declaration

    Swift

    let typeID: String
  • The optional old value of the trait.

    Declaration

    Swift

    let oldValue: TraitPayload?
  • The new value of the trait.

    Declaration

    Swift

    let newValue: TraitPayload