pub fn serialize<S>(
datetime: &OffsetDateTime,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Expand description
Serialize an OffsetDateTime
as its Unix timestamp with microseconds
pub fn serialize<S>(
datetime: &OffsetDateTime,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize an OffsetDateTime
as its Unix timestamp with microseconds