ocpp/v1_6/enum/reading_context
OCPP 1.6 ReadingContext enumeration.
to_json/decoder map each constructor to/from its exact schema token.
Types
pub type ReadingContext {
InterruptionBegin
InterruptionEnd
SampleClock
SamplePeriodic
TransactionBegin
TransactionEnd
Trigger
Other
}
Constructors
-
InterruptionBegin -
InterruptionEnd -
SampleClock -
SamplePeriodic -
TransactionBegin -
TransactionEnd -
Trigger -
Other
Values
pub fn decoder() -> decode.Decoder(ReadingContext)
Decode a ReadingContext from its exact schema token.
pub fn to_json(value: ReadingContext) -> json.Json
Encode a ReadingContext to its exact schema token.