Module rfc2822

Source
Available on crate feature serde and (crate features formatting or parsing) only.
Expand description

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

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

Modules§

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

Functions§

deserializeparsing
Deserialize an OffsetDateTime from its RFC2822 representation.
serializeformatting
Serialize an OffsetDateTime using the well-known RFC2822 format.