OCPP 1.6 Phase enumeration.
Phase
to_json/decoder map each constructor to/from its exact schema token.
to_json
decoder
pub type Phase { L1 L2 L3 N L1N L2N L3N L1L2 L2L3 L3L1 }
L1
L2
L3
N
L1N
L2N
L3N
L1L2
L2L3
L3L1
pub fn decoder() -> decode.Decoder(Phase)
Decode a Phase from its exact schema token.
pub fn to_json(value: Phase) -> json.Json
Encode a Phase to its exact schema token.