ocpp/v2_0_1/enum/generic_device_model_status

OCPP 2.0.1 GenericDeviceModelStatus enumeration (schema GenericDeviceModelStatusEnumType).

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

Types

This indicates whether the Charging Station is able to accept this request.

pub type GenericDeviceModelStatus {
  Accepted
  Rejected
  NotSupported
  EmptyResultSet
}

Constructors

  • Accepted
  • Rejected
  • NotSupported
  • EmptyResultSet

Values

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

Decode a GenericDeviceModelStatus from its exact schema token.

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

Encode a GenericDeviceModelStatus to its exact schema token.

Search Document