Enum easyfix_messages::fields::TimePrecision
source · 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§fn eq(&self, other: &TimePrecision) -> bool
fn eq(&self, other: &TimePrecision) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TimePrecision
impl PartialOrd for TimePrecision
source§fn partial_cmp(&self, other: &TimePrecision) -> Option<Ordering>
fn partial_cmp(&self, other: &TimePrecision) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for TimePrecision
impl Eq for TimePrecision
impl StructuralPartialEq for TimePrecision
Auto Trait Implementations§
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