SwiftextensionEnergyKit
extension EnergyKit.ElectricityInsightRecord.TariffPeak: Swift.Encodable where A: Decodable, A: Encodable
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
generic{}
A
req{}
- conformance:genericParameter
AprotocolSwift.Decodable - conformance:genericParameter
AprotocolSwift.Encodable
extends{}
inherits{}
- protocolSwift.Encodable
Members 4
- func
EnergyKit.ElectricityInsightRecord.TariffPeak< where A: Decodable, A: Encodable>.encode(to: Encoder) throws -> () - init
EnergyKit.ElectricityInsightRecord.TariffPeak< where A == Foundation.Measurement<NSUnitEnergy>>.init(protobuf: EnergyKitFoundation.InsightRecordPayload.TariffPeakStats) -> EnergyKit.ElectricityInsightRecord<Foundation.Measurement<NSUnitEnergy>>.TariffPeak - init
EnergyKit.ElectricityInsightRecord.TariffPeak< where A: Decodable, A: Encodable>.init(from: Decoder) throws -> EnergyKit.ElectricityInsightRecord<A>.TariffPeak - init
EnergyKit.ElectricityInsightRecord.TariffPeak< where A == Duration>.init(protobuf: EnergyKitFoundation.InsightRecordPayload.TariffPeakStats) -> EnergyKit.ElectricityInsightRecord<Duration>.TariffPeak
Header
extension EnergyKit.ElectricityInsightRecord.TariffPeak: Swift.Encodable where A: Swift.Decodable, A: Swift.Encodable {}