ocpp/v2_0_1/enum/message_state
OCPP 2.0.1 MessageState enumeration (schema MessageStateEnumType).
to_json/decoder map each constructor to/from its exact schema token.
Types
If provided the Charging Station shall return Display Messages with the given state only.
pub type MessageState {
Charging
Faulted
Idle
Unavailable
}
Constructors
-
Charging -
Faulted -
Idle -
Unavailable
Values
pub fn decoder() -> decode.Decoder(MessageState)
Decode a MessageState from its exact schema token.
pub fn to_json(value: MessageState) -> json.Json
Encode a MessageState to its exact schema token.