ocpp/v2_0_1/enum/location

OCPP 2.0.1 Location enumeration (schema LocationEnumType).

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

Types

Indicates where the measured value has been sampled. Default = “Outlet”

Data dictionary: Sampled_Value.Location.Location_Code · urn:x-oca:ocpp:uid:1:569265

pub type Location {
  Body
  Cable
  Ev
  Inlet
  Outlet
}

Constructors

  • Body
  • Cable
  • Ev
  • Inlet
  • Outlet

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