    struct ProgressStruct

Data about the operating status of an area.
- `


  ### [areaID](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ServiceAreaTrait/ProgressStruct#/s:15GoogleHomeTypes6MatterO16ServiceAreaTraitV14ProgressStructV6areaIDs6UInt32Vvp)


  ` The identifier of the area, where the identifier is an entry in the
  `https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ServiceAreaTrait/Attributes.html#/s:15GoogleHomeTypes6MatterO16ServiceAreaTraitV10AttributesV14supportedAreasSayAE0F6StructVGSgvp` attribute's list.

  #### Declaration

  Swift

      let areaID: UInt32

- `


  ### [status](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ServiceAreaTrait/ProgressStruct#/s:15GoogleHomeTypes6MatterO16ServiceAreaTraitV14ProgressStructV6statusAE21OperationalStatusEnumOvp)


  ` The operational status of the device for the area, indicated by the `https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ServiceAreaTrait/ProgressStruct.html#/s:15GoogleHomeTypes6MatterO16ServiceAreaTraitV14ProgressStructV6areaIDs6UInt32Vvp` field.

  #### Declaration

  Swift

      let status: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ServiceAreaTrait.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ServiceAreaTrait/OperationalStatusEnum.html

- `


  ### [totalOperationalTime](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ServiceAreaTrait/ProgressStruct#/s:15GoogleHomeTypes6MatterO16ServiceAreaTraitV14ProgressStructV20totalOperationalTimes6UInt32VSgvp)


  ` The total operational time, in seconds, from when the device started to operate at the
  area indicated by the `https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ServiceAreaTrait/ProgressStruct.html#/s:15GoogleHomeTypes6MatterO16ServiceAreaTraitV14ProgressStructV6areaIDs6UInt32Vvp` field until the operation finished.

  #### Declaration

  Swift

      let totalOperationalTime: UInt32?

- `


  ### [estimatedTime](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ServiceAreaTrait/ProgressStruct#/s:15GoogleHomeTypes6MatterO16ServiceAreaTraitV14ProgressStructV13estimatedTimes6UInt32VSgvp)


  ` The estimated time for the operation, in seconds, from when the device starts operating at
  the area indicated by the `https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ServiceAreaTrait/ProgressStruct.html#/s:15GoogleHomeTypes6MatterO16ServiceAreaTraitV14ProgressStructV6areaIDs6UInt32Vvp` field until the operation completes, excluding any time
  spent while not operating in the area.

  #### Declaration

  Swift

      let estimatedTime: UInt32?

- `


  ### [init(decoder:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ServiceAreaTrait/ProgressStruct#/s:15GoogleHomeTypes6MatterO16ServiceAreaTraitV14ProgressStructV7decoderAG0aB3SDK0G7DecoderV_tKcfc)


  ` Creates a new Struct instance using data read from the given `TraitDecoder`.
  Throws
  `HomeError.parseError` when parsing fails.

  #### Declaration

  Swift

      init(decoder: TraitDecoder) throws

  #### Parameters

  |---|---|
  | ` decoder ` | The raw data representing this Struct. |

- `


  ### [encode(with:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ServiceAreaTrait/ProgressStruct#/s:15GoogleHomeTypes6MatterO16ServiceAreaTraitV14ProgressStructV6encode4withy0aB3SDK0G7EncoderC_tKF)


  ` Writes this Struct to the given `TraitEncoder`.
  Throws `HomeError.parseError` if the data could not be encoded.

  #### Declaration

  Swift

      func encode(with encoder: TraitEncoder) throws

- `


  ### [structField(id:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ServiceAreaTrait/ProgressStruct#/s:15GoogleHomeTypes6MatterO16ServiceAreaTraitV14ProgressStructV11structField2id0aB3SDK0K0_pSgs6UInt32V_tFZ)


  ` Returns the field corresponding to the given field ID.

  #### Declaration

  Swift

      static func structField(id: UInt32) -> (any Field)?