ocpp/v2_0_1/enum/monitor

OCPP 2.0.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
}

Constructors

  • UpperThreshold
  • LowerThreshold
  • Delta
  • Periodic
  • PeriodicClockAligned

Values

pub fn decoder() -> decode.Decoder(Monitor)

Decode a Monitor from its exact schema token.

pub fn to_json(value: Monitor) -> json.Json

Encode a Monitor to its exact schema token.

Search Document