ocpp/v2_0_1/enum/charging_state
OCPP 2.0.1 ChargingState enumeration (schema ChargingStateEnumType).
to_json/decoder map each constructor to/from its exact schema token.
Types
Current charging state, is required when state has changed.
Data dictionary: Transaction.State.Transaction_State_Code · urn:x-oca:ocpp:uid:1:569419
pub type ChargingState {
Charging
EvConnected
SuspendedEv
SuspendedEvse
Idle
}
Constructors
-
Charging -
EvConnected -
SuspendedEv -
SuspendedEvse -
Idle
Values
pub fn decoder() -> decode.Decoder(ChargingState)
Decode a ChargingState from its exact schema token.
pub fn to_json(value: ChargingState) -> json.Json
Encode a ChargingState to its exact schema token.