This is supported on crate features
serde
and serde-well-known
only.Expand description
Use the well-known RFC3339 format when serializing and deserializing an
Option<OffsetDateTime>
.
Use this module in combination with serde’s #[with]
attribute.
Functions
Deserialize an Option<OffsetDateTime>
from its RFC3339 representation.
Serialize an Option<OffsetDateTime>
using the well-known RFC3339 format.