ocpp/v2_1/enum/apn_authentication

OCPP 2.1 ApnAuthentication enumeration (schema APNAuthenticationEnumType).

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

Types

Authentication method.

pub type ApnAuthentication {
  Pap
  Chap
  None
  Auto
}

Constructors

  • Pap
  • Chap
  • None
  • 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