Module rfc3339

Source
Expand description

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

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

Modules§

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

Functions§

deserialize
Deserialize an OffsetDateTime from its RFC3339 representation.
serialize
Serialize an OffsetDateTime using the well-known RFC3339 format.