struct ChargingTargetStructA single user-specified charging target for an electric vehicle.
- 
                  
                  The desired charging completion time of the associated day, where the time is represented by a 16-bit unsigned integer to designate the minutes past midnight. For example, 6 a.m. is represented by 360 minutes past midnight. DeclarationSwift let targetTimeMinutesPastMidnight: UInt16
- 
                  
                  The target SoC, in percentage, that the vehicle should be charged to before the targetTimeMinutesPastMidnightis reached.DeclarationSwift let targetSoC: UInt8?
- 
                  
                  The amount of energy, in milliwatt hours, that the user would like to have added to the vehicle before the targetTimeMinutesPastMidnightis reached.DeclarationSwift let addedEnergy: Int64?
- 
                  
                  Creates a new Struct instance using data read from the given TraitDecoder.Throws HomeError.parseErrorwhen parsing fails.DeclarationSwift init(decoder: TraitDecoder) throwsParametersdecoderThe raw data representing this Struct. 
- 
                  
                  Writes this Struct to the given TraitEncoder. ThrowsHomeError.parseErrorif the data could not be encoded.DeclarationSwift func encode(with encoder: TraitEncoder) throws
- 
                  
                  Returns the field corresponding to the given field ID. DeclarationSwift static func structField(id: UInt32) -> (any Field)?