Struct pretty_duration::PrettyDurationLabels
source · [−]pub struct PrettyDurationLabels {
pub year: &'static str,
pub month: &'static str,
pub day: &'static str,
pub hour: &'static str,
pub minute: &'static str,
pub second: &'static str,
pub millisecond: &'static str,
}Fields
year: &'static strmonth: &'static strday: &'static strhour: &'static strminute: &'static strsecond: &'static strmillisecond: &'static strTrait Implementations
sourceimpl Clone for PrettyDurationLabels
impl Clone for PrettyDurationLabels
sourcefn clone(&self) -> PrettyDurationLabels
fn clone(&self) -> PrettyDurationLabels
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations
impl RefUnwindSafe for PrettyDurationLabels
impl Send for PrettyDurationLabels
impl Sync for PrettyDurationLabels
impl Unpin for PrettyDurationLabels
impl UnwindSafe for PrettyDurationLabels
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more