pub fn parse_interval(s: &str) -> Option<Duration>
Parse a duration string like "5m", "30s", "2h", "1d".
"5m"
"30s"
"2h"
"1d"
Returns Some(Duration) on success, None if the format is not recognized.
Some(Duration)
None