ocpp/v2_0_1/enum/message_priority

OCPP 2.0.1 MessagePriority enumeration (schema MessagePriorityEnumType).

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 priority only.

pub type MessagePriority {
  AlwaysFront
  InFront
  NormalCycle
}

Constructors

  • AlwaysFront
  • InFront
  • NormalCycle

Values

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

Decode a MessagePriority from its exact schema token.

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

Encode a MessagePriority to its exact schema token.

Search Document