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