ocpp/v2_0_1/enum/reading_context
OCPP 2.0.1 ReadingContext enumeration (schema ReadingContextEnumType).
to_json/decoder map each constructor to/from its exact schema token.
Types
Type of detail value: start, end or sample. Default = “Sample.Periodic”
Data dictionary: Sampled_Value.Context.Reading_Context_Code · urn:x-oca:ocpp:uid:1:569261
pub type ReadingContext {
InterruptionBegin
InterruptionEnd
Other
SampleClock
SamplePeriodic
TransactionBegin
TransactionEnd
Trigger
}
Constructors
-
InterruptionBegin -
InterruptionEnd -
Other -
SampleClock -
SamplePeriodic -
TransactionBegin -
TransactionEnd -
Trigger
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.