ocpp/v2_0_1/enum/cost_kind
OCPP 2.0.1 CostKind enumeration (schema CostKindEnumType).
to_json/decoder map each constructor to/from its exact schema token.
Types
The kind of cost referred to in the message element amount
Data dictionary: Cost.Cost_Kind.Cost_Kind_Code · urn:x-oca:ocpp:uid:1:569243
pub type CostKind {
CarbonDioxideEmission
RelativePricePercentage
RenewableGenerationPercentage
}
Constructors
-
CarbonDioxideEmission -
RelativePricePercentage -
RenewableGenerationPercentage
Values
pub fn decoder() -> decode.Decoder(CostKind)
Decode a CostKind from its exact schema token.