pub fn system_time_to_millis<S>(
time: &SystemTime,
serializer: S,
) -> Result<S::Ok, S::Error>where
S: Serializer,
Expand description
Serialize a SystemTime
into a timestamp containing the
milliseconds since 1970-01-01.
pub fn system_time_to_millis<S>(
time: &SystemTime,
serializer: S,
) -> Result<S::Ok, S::Error>where
S: Serializer,
Serialize a SystemTime
into a timestamp containing the
milliseconds since 1970-01-01.