Available on crate feature
serde
and (crate features formatting
or parsing
) only.Expand description
Use the well-known ISO 8601 format when serializing and deserializing an OffsetDateTime
.
Use this module in combination with serde’s #[with]
attribute.
Modules§
- Use the well-known ISO 8601 format when serializing and deserializing an
Option<OffsetDateTime>
.
Functions§
- deserialize
parsing
Deserialize anOffsetDateTime
from its ISO 8601 representation. - serialize
formatting
Serialize anOffsetDateTime
using the well-known ISO 8601 format.