duration_str

Function deserialize_option_duration

Source
pub fn deserialize_option_duration<'de, D>(
    deserializer: D,
) -> Result<Option<Duration>, D::Error>
where D: Deserializer<'de>,