Skip to main content

serialize

Function serialize 

Source
pub fn serialize<S>(
    datetime: &OffsetDateTime,
    serializer: S,
) -> Result<S::Ok, S::Error>
where S: Serializer,
Expand description

Serialize an OffsetDateTime using the well-known ISO 8601 format.