pub fn seconds(duration: &str) -> Option<u32>
Seconds in a duration written <number><unit>, one or more times (90s, 1m30s, 2h): units h, m and s. None when it isn’t one.
<number><unit>
90s
1m30s
2h
h
m
s
None