ocpp/v2_1/enum/notify_allowed_energy_transfer_status

OCPP 2.1 NotifyAllowedEnergyTransferStatus enumeration (schema NotifyAllowedEnergyTransferStatusEnumType).

to_json/decoder map each constructor to/from its exact schema token.

Types

pub type NotifyAllowedEnergyTransferStatus {
  Accepted
  Rejected
}

Constructors

  • Accepted
  • Rejected

Values

pub fn decoder() -> decode.Decoder(
  NotifyAllowedEnergyTransferStatus,
)

Decode a NotifyAllowedEnergyTransferStatus from its exact schema token.

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

Encode a NotifyAllowedEnergyTransferStatus to its exact schema token.

Search Document