optional_system_time_to_rfc3339_with_nanos

Function optional_system_time_to_rfc3339_with_nanos 

Source
pub fn optional_system_time_to_rfc3339_with_nanos<S>(
    time: &Option<SystemTime>,
    serializer: S,
) -> Result<S::Ok, S::Error>
where S: Serializer,
Expand description

Serialize an optional SystemTime into a RFC3339 time stamp.