ocpp/v2_1/enum/monitor
OCPP 2.1 Monitor enumeration (schema MonitorEnumType).
to_json/decoder map each constructor to/from its exact schema token.
Types
The type of this monitor, e.g. a threshold, delta or periodic monitor.
pub type Monitor {
UpperThreshold
LowerThreshold
Delta
Periodic
PeriodicClockAligned
TargetDelta
TargetDeltaRelative
}
Constructors
-
UpperThreshold -
LowerThreshold -
Delta -
Periodic -
PeriodicClockAligned -
TargetDelta -
TargetDeltaRelative
Values
pub fn decoder() -> decode.Decoder(Monitor)
Decode a Monitor from its exact schema token.