ocpp/v1_6/enum/location

OCPP 1.6 Location enumeration.

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

Types

pub type Location {
  Cable
  Ev
  Inlet
  Outlet
  Body
}

Constructors

  • Cable
  • Ev
  • Inlet
  • Outlet
  • Body

Values

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

Decode a Location from its exact schema token.

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

Encode a Location to its exact schema token.

Search Document