Expand description
Shared datetime wire helpers for OCPP 1.6 and 2.1.
Parse always uses RFC3339 (accepts %.3fZ, offsets, variable fractional seconds, etc.).
Serialize defaults to strict %Y-%m-%dT%H:%M:%S%.3fZ; enable
datetime_serialize_rfc3339 to emit to_rfc3339_opts(Millis, true) instead.
Modules§
- date_
time - Serde helpers for required
DateTimeWrapperfields. - date_
time_ optional - Serde helpers for optional
DateTimeWrapperfields.
Structs§
- Date
Time Wrapper - UTC datetime wrapper used by OCPP payload fields.