ocpp/v2_1/enum/log

OCPP 2.1 Log enumeration (schema LogEnumType).

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

Types

This contains the type of log file that the Charging Station should send.

pub type Log {
  DiagnosticsLog
  SecurityLog
  DataCollectorLog
}

Constructors

  • DiagnosticsLog
  • SecurityLog
  • DataCollectorLog

Values

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

Decode a Log from its exact schema token.

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

Encode a Log to its exact schema token.

Search Document