Enum defmt_parser::TimePrecision
source · pub enum TimePrecision {
Millis,
Seconds,
}
Available on
unstable
only.Expand description
Precision of ISO8601 datetime
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 PartialEq<TimePrecision> for TimePrecision
impl PartialEq<TimePrecision> 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 ==
.impl Eq for TimePrecision
impl StructuralEq 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