Expand description
Treat an OffsetDateTime as a Unix timestamp with nanoseconds for
the purposes of serde.
Use this module in combination with serde’s #[with] attribute.
When deserializing, the offset is assumed to be UTC.
Modules§
- option
- Treat an
Option<OffsetDateTime>as a Unix timestamp with nanoseconds for the purposes of serde.
Functions§
- deserialize
- Deserialize an
OffsetDateTimefrom its Unix timestamp with nanoseconds - serialize
- Serialize an
OffsetDateTimeas its Unix timestamp with nanoseconds