pub enum TimePrecision {
Secs = 0,
Millis = 3,
Micros = 6,
Nanos = 9,
}
Variants§
Trait Implementations§
Source§impl Clone for TimePrecision
impl Clone for TimePrecision
Source§fn clone(&self) -> TimePrecision
fn clone(&self) -> TimePrecision
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 TimePrecision
impl Debug for TimePrecision
Source§impl Default for TimePrecision
impl Default for TimePrecision
Source§fn default() -> TimePrecision
fn default() -> TimePrecision
Returns the “default value” for a type. Read more
Source§impl Ord for TimePrecision
impl Ord for TimePrecision
Source§fn cmp(&self, other: &TimePrecision) -> Ordering
fn cmp(&self, other: &TimePrecision) -> 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 TimePrecision
impl PartialEq for TimePrecision
Source§impl PartialOrd for TimePrecision
impl PartialOrd for TimePrecision
Source§impl Serialize for TimePrecision
impl Serialize for TimePrecision
impl Copy for TimePrecision
impl Eq for TimePrecision
impl StructuralPartialEq for TimePrecision
Auto Trait Implementations§
impl Freeze for TimePrecision
impl RefUnwindSafe for TimePrecision
impl Send for TimePrecision
impl Sync for TimePrecision
impl Unpin for TimePrecision
impl UnwindSafe for TimePrecision
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