time::serde::rfc2822

Module option

source
Expand description

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

Use this module in combination with serde’s #[with] attribute.

Functions§