Expand description
Differential formats for serde.
Modulesยง
- Use the well-known ISO 8601 format when serializing and deserializing an
OffsetDateTime
. - Use the well-known RFC2822 format when serializing and deserializing an
OffsetDateTime
. - Use the well-known RFC3339 format when serializing and deserializing an
OffsetDateTime
. - Treat an
OffsetDateTime
as a Unix timestamp for the purposes of serde. - visitor ๐Serde visitor for various types.
Macrosยง
- Generate a custom serializer and deserializer from a format string or an existing format.
- item ๐Consume the next item in a sequence.
Constantsยง
- DATE_FORMAT ๐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
. - TIME_FORMAT ๐The format used when serializing and deserializing a human-readable
Time
. - UTC_OFFSET_FORMAT ๐The format used when serializing and deserializing a human-readable
UtcOffset
.