ocpp/v2_1/enum/update_firmware_status

OCPP 2.1 UpdateFirmwareStatus enumeration (schema UpdateFirmwareStatusEnumType).

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

Types

This field indicates whether the Charging Station was able to accept the request.

pub type UpdateFirmwareStatus {
  Accepted
  Rejected
  AcceptedCanceled
  InvalidCertificate
  RevokedCertificate
}

Constructors

  • Accepted
  • Rejected
  • AcceptedCanceled
  • InvalidCertificate
  • RevokedCertificate

Values

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

Decode a UpdateFirmwareStatus from its exact schema token.

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

Encode a UpdateFirmwareStatus to its exact schema token.

Search Document