Module serde

Source
Available on crate feature serde only.
Expand description

Differential formats for serde.

Modules§

iso8601formatting or parsing
Use the well-known ISO 8601 format when serializing and deserializing an OffsetDateTime.
rfc2822formatting or parsing
Use the well-known RFC2822 format when serializing and deserializing an OffsetDateTime.
rfc3339formatting or parsing
Use the well-known RFC3339 format when serializing and deserializing an OffsetDateTime.
timestamp
Treat an OffsetDateTime as a Unix timestamp for the purposes of serde.

Macros§

format_descriptionmacros and (formatting or parsing)
Generate a custom serializer and deserializer from a format string or an existing format.