ocpp/v1_6/enum/unit_of_measure
OCPP 1.6 UnitOfMeasure enumeration.
to_json/decoder map each constructor to/from its exact schema token.
Types
pub type UnitOfMeasure {
Wh
Kwh
Varh
Kvarh
W
Kw
Va
Kva
Var
Kvar
A
V
K
Celcius
Celsius
Fahrenheit
Percent
}
Constructors
-
Wh -
Kwh -
Varh -
Kvarh -
W -
Kw -
Va -
Kva -
Var -
Kvar -
A -
V -
K -
Celcius -
Celsius -
Fahrenheit -
Percent
Values
pub fn decoder() -> decode.Decoder(UnitOfMeasure)
Decode a UnitOfMeasure from its exact schema token.
pub fn to_json(value: UnitOfMeasure) -> json.Json
Encode a UnitOfMeasure to its exact schema token.