Enum iso8601::Duration [−][src]
pub enum Duration {
YMDHMS {
year: u32,
month: u32,
day: u32,
hour: u32,
minute: u32,
second: u32,
millisecond: u32,
},
Weeks(u32),
}
Expand description
A time duration.
Variants
YMDHMS
consists of year, month, day, hour, minute and second units
Weeks(u32)
Tuple Fields
0: u32
consists of week units
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Duration
impl UnwindSafe for Duration
Blanket Implementations
Mutably borrows from an owned value. Read more