Function optional_system_time_to_rfc3339

Source
pub fn optional_system_time_to_rfc3339<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.