#[repr(C)]pub enum TimePrecision {
Show 13 variants
Hour = 0,
Minute = 1,
MinuteOptional = 2,
Second = 3,
Subsecond1 = 4,
Subsecond2 = 5,
Subsecond3 = 6,
Subsecond4 = 7,
Subsecond5 = 8,
Subsecond6 = 9,
Subsecond7 = 10,
Subsecond8 = 11,
Subsecond9 = 12,
}
Variants§
Hour = 0
Minute = 1
MinuteOptional = 2
Second = 3
Subsecond1 = 4
Subsecond2 = 5
Subsecond3 = 6
Subsecond4 = 7
Subsecond5 = 8
Subsecond6 = 9
Subsecond7 = 10
Subsecond8 = 11
Subsecond9 = 12
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 From<TimePrecision> for TimePrecision
impl From<TimePrecision> for TimePrecision
Source§fn from(time_precision: TimePrecision) -> Self
fn from(time_precision: TimePrecision) -> Self
Converts to this type from the input type.
impl Copy 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more