logo

Module time::serde

source · []
This is supported on crate feature serde only.
Expand description

Differential formats for serde.

Modules

rfc2822serde-well-known

Use the well-known RFC2822 format when serializing and deserializing an OffsetDateTime.

rfc3339serde-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_descriptionmacros and serde-human-readable

Generate a custom serializer and deserializer from the provided string.