ocpp/v2_1/enum/data

OCPP 2.1 Data enumeration (schema DataEnumType).

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

Types

Data type of this variable.

pub type Data {
  String
  Decimal
  Integer
  DateTime
  Boolean
  OptionList
  SequenceList
  MemberList
}

Constructors

  • String
  • Decimal
  • Integer
  • DateTime
  • Boolean
  • OptionList
  • SequenceList
  • MemberList

Values

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

Decode a Data from its exact schema token.

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

Encode a Data to its exact schema token.

Search Document