Available on crate feature
serde
only.Expand description
Differential formats for serde.
Modules
- iso8601
formatting
orparsing
Use the well-known ISO 8601 format when serializing and deserializing anOffsetDateTime
. - rfc2822
formatting
orparsing
Use the well-known RFC2822 format when serializing and deserializing anOffsetDateTime
. - rfc3339
formatting
orparsing
Use the well-known RFC3339 format when serializing and deserializing anOffsetDateTime
. - Treat an
OffsetDateTime
as a Unix timestamp for the purposes of serde. - visitor 🔒Serde visitor for various types.
Macros
- format_description
macros
and (formatting
orparsing
)Generate a custom serializer and deserializer from a format string or an existing format. - item 🔒Consume the next item in a sequence.
Constants
- The format used when serializing and deserializing a human-readable
Date
. - The format used when serializing and deserializing a human-readable
OffsetDateTime
. - The format used when serializing and deserializing a human-readable
PrimitiveDateTime
. - The format used when serializing and deserializing a human-readable
Time
. - The format used when serializing and deserializing a human-readable
UtcOffset
.