Function deserialize
pub fn deserialize<'de, D>(
deserializer: D,
) -> Result<Duration, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Expand description
Deserialize string into Duration
pub fn deserialize<'de, D>(
deserializer: D,
) -> Result<Duration, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize string into Duration