Function deserialize_duration_from_string

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