This is supported on crate feature
serde
only.Expand description
Differential formats for serde.
Modules
rfc2822
serde-well-known
Use the well-known RFC2822 format when serializing and deserializing an OffsetDateTime
.
rfc3339
serde-well-known
Use the well-known RFC3339 format when serializing and deserializing an OffsetDateTime
.
Treat an OffsetDateTime
as a Unix timestamp for the purposes of serde.
Macros
format_description
macros
and serde-human-readable
Generate a custom serializer and deserializer from the provided string.