Struct time_humanize::HumanTime [−][src]
pub struct HumanTime { /* fields omitted */ }
Expand description
Duration
wrapper that helps expressing the duration in human languages
Implementations
Create HumanTime
object that corresponds to the current point in time.
. Similar to chrono::Utc::now()
Gives English text representation of the HumanTime
with given accuracy
and ’tense`
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for HumanTime
impl UnwindSafe for HumanTime
Blanket Implementations
Mutably borrows from an owned value. Read more