pub struct HumanDuration(pub Duration);Tuple Fields§
§0: DurationTrait Implementations§
source§impl Clone for HumanDuration
impl Clone for HumanDuration
source§fn clone(&self) -> HumanDuration
fn clone(&self) -> HumanDuration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for HumanDuration
impl Debug for HumanDuration
source§impl Deref for HumanDuration
impl Deref for HumanDuration
source§impl DerefMut for HumanDuration
impl DerefMut for HumanDuration
source§impl<'de> Deserialize<'de> for HumanDuration
impl<'de> Deserialize<'de> for HumanDuration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<TimeDelta> for HumanDuration
impl From<TimeDelta> for HumanDuration
source§impl FromStr for HumanDuration
impl FromStr for HumanDuration
source§impl Ord for HumanDuration
impl Ord for HumanDuration
source§fn cmp(&self, other: &HumanDuration) -> Ordering
fn cmp(&self, other: &HumanDuration) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for HumanDuration
impl PartialEq for HumanDuration
source§impl PartialOrd for HumanDuration
impl PartialOrd for HumanDuration
source§impl Serialize for HumanDuration
impl Serialize for HumanDuration
impl Copy for HumanDuration
impl Eq for HumanDuration
impl StructuralPartialEq for HumanDuration
Auto Trait Implementations§
impl Freeze for HumanDuration
impl RefUnwindSafe for HumanDuration
impl Send for HumanDuration
impl Sync for HumanDuration
impl Unpin for HumanDuration
impl UnwindSafe for HumanDuration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.