ocpp/v2_0_1/enum/unlock_status

OCPP 2.0.1 UnlockStatus enumeration (schema UnlockStatusEnumType).

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

Types

This indicates whether the Charging Station has unlocked the connector.

pub type UnlockStatus {
  Unlocked
  UnlockFailed
  OngoingAuthorizedTransaction
  UnknownConnector
}

Constructors

  • Unlocked
  • UnlockFailed
  • OngoingAuthorizedTransaction
  • UnknownConnector

Values

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

Decode a UnlockStatus from its exact schema token.

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

Encode a UnlockStatus to its exact schema token.

Search Document