ocpp/v2_0_1/enum/apn_authentication

OCPP 2.0.1 ApnAuthentication enumeration (schema APNAuthenticationEnumType).

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

Types

Authentication method.

Data dictionary: APN.APN_Authentication.APN_Authentication_Code · urn:x-oca:ocpp:uid:1:568828

pub type ApnAuthentication {
  Chap
  None
  Pap
  Auto
}

Constructors

  • Chap
  • None
  • Pap
  • Auto

Values

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

Decode a ApnAuthentication from its exact schema token.

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

Encode a ApnAuthentication to its exact schema token.

Search Document