[go: up one dir, main page]

Module time::serde::iso8601::option

source ·
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 Option<OffsetDateTime>.

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

Functions

Deserialize an Option<OffsetDateTime> from its ISO 8601 representation.
serializeformatting
Serialize an Option<OffsetDateTime> using the well-known ISO 8601 format.