Struct swiss_army_knife::time::U31SecondsDuration [−][src]
pub struct U31SecondsDuration(_);
Expand description
A duration in seconds, with a maximum value of (i32::MAX as u32)
.
Usage is discoraged except for compatibility with legacy code.
Implementations
Inclusive maximum (same as Zero).
Inclusive minimum.
Into Rust Duration
(as opposed to chrono
crate’s Duration
).
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
type Error = ParseNumberError
type Error = ParseNumberError
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for U31SecondsDuration
impl Send for U31SecondsDuration
impl Sync for U31SecondsDuration
impl Unpin for U31SecondsDuration
impl UnwindSafe for U31SecondsDuration
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,