pub fn serialize<S: Serializer>(
option: &Option<OffsetDateTime>,
serializer: S,
) -> Result<S::Ok, S::Error>
Expand description
Serialize an Option<OffsetDateTime>
using the well-known ISO 8601 format.
pub fn serialize<S: Serializer>(
option: &Option<OffsetDateTime>,
serializer: S,
) -> Result<S::Ok, S::Error>
Serialize an Option<OffsetDateTime>
using the well-known ISO 8601 format.