pub enum UnitOfTime {
Nanosecond,
Microsecond,
Millisecond,
Second,
Minute,
Hour,
Day,
IsoWeek,
Week,
Quarter,
Month,
Year,
}
Variants§
Trait Implementations§
Source§impl Clone for UnitOfTime
impl Clone for UnitOfTime
Source§fn clone(&self) -> UnitOfTime
fn clone(&self) -> UnitOfTime
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 UnitOfTime
impl Debug for UnitOfTime
Source§impl Hash for UnitOfTime
impl Hash for UnitOfTime
Source§impl PartialEq for UnitOfTime
impl PartialEq for UnitOfTime
Source§impl PartialOrd for UnitOfTime
impl PartialOrd for UnitOfTime
impl Eq for UnitOfTime
impl StructuralPartialEq for UnitOfTime
Auto Trait Implementations§
impl Freeze for UnitOfTime
impl RefUnwindSafe for UnitOfTime
impl Send for UnitOfTime
impl Sync for UnitOfTime
impl Unpin for UnitOfTime
impl UnwindSafe for UnitOfTime
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