ocpp/v2_0_1/enum/certificate_action

OCPP 2.0.1 CertificateAction enumeration (schema CertificateActionEnumType).

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

Types

Defines whether certificate needs to be installed or updated.

pub type CertificateAction {
  Install
  Update
}

Constructors

  • Install
  • Update

Values

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

Decode a CertificateAction from its exact schema token.

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

Encode a CertificateAction to its exact schema token.

Search Document