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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Default for HumanDuration
impl Default 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 PartialEq for HumanDuration
impl PartialEq for HumanDuration
Source§fn eq(&self, other: &HumanDuration) -> bool
fn eq(&self, other: &HumanDuration) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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