ocpp/v2_1/enum/tariff_change_status

OCPP 2.1 TariffChangeStatus enumeration (schema TariffChangeStatusEnumType).

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

Types

Status of the operation

pub type TariffChangeStatus {
  Accepted
  Rejected
  TooManyElements
  ConditionNotSupported
  TxNotFound
  NoCurrencyChange
}

Constructors

  • Accepted
  • Rejected
  • TooManyElements
  • ConditionNotSupported
  • TxNotFound
  • NoCurrencyChange

Values

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

Decode a TariffChangeStatus from its exact schema token.

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

Encode a TariffChangeStatus to its exact schema token.

Search Document