ocpp/v2_0_1/enum/firmware_status

OCPP 2.0.1 FirmwareStatus enumeration (schema FirmwareStatusEnumType).

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

Types

This contains the progress status of the firmware installation.

pub type FirmwareStatus {
  Downloaded
  DownloadFailed
  Downloading
  DownloadScheduled
  DownloadPaused
  Idle
  InstallationFailed
  Installing
  Installed
  InstallRebooting
  InstallScheduled
  InstallVerificationFailed
  InvalidSignature
  SignatureVerified
}

Constructors

  • Downloaded
  • DownloadFailed
  • Downloading
  • DownloadScheduled
  • DownloadPaused
  • Idle
  • InstallationFailed
  • Installing
  • Installed
  • InstallRebooting
  • InstallScheduled
  • InstallVerificationFailed
  • InvalidSignature
  • SignatureVerified

Values

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

Decode a FirmwareStatus from its exact schema token.

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

Encode a FirmwareStatus to its exact schema token.

Search Document