pub struct PreciseLocalTime {
pub hour: Hour,
pub minute: Minute,
pub second: Second,
pub nanosecond: Nanosecond,
}
Expand description
Time without time shift information, with nanosecond precision
Fields§
§hour: Hour
§minute: Minute
§second: Second
§nanosecond: Nanosecond
Implementations§
Trait Implementations§
Source§impl Clone for PreciseLocalTime
impl Clone for PreciseLocalTime
Source§fn clone(&self) -> PreciseLocalTime
fn clone(&self) -> PreciseLocalTime
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 PreciseLocalTime
impl Debug for PreciseLocalTime
Source§impl Display for PreciseLocalTime
impl Display for PreciseLocalTime
Source§impl From<PreciseLocalTime> for NaiveTime
impl From<PreciseLocalTime> for NaiveTime
Source§fn from(val: PreciseLocalTime) -> Self
fn from(val: PreciseLocalTime) -> Self
Converts to this type from the input type.
Source§impl Ord for PreciseLocalTime
impl Ord for PreciseLocalTime
Source§fn cmp(&self, other: &PreciseLocalTime) -> Ordering
fn cmp(&self, other: &PreciseLocalTime) -> 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 PreciseLocalTime
impl PartialEq for PreciseLocalTime
Source§impl PartialOrd for PreciseLocalTime
impl PartialOrd for PreciseLocalTime
Source§impl<H, M, S, N> TryFrom<(H, M, S, N)> for PreciseLocalTime
impl<H, M, S, N> TryFrom<(H, M, S, N)> for PreciseLocalTime
impl Copy for PreciseLocalTime
impl Eq for PreciseLocalTime
impl StructuralPartialEq for PreciseLocalTime
Auto Trait Implementations§
impl Freeze for PreciseLocalTime
impl RefUnwindSafe for PreciseLocalTime
impl Send for PreciseLocalTime
impl Sync for PreciseLocalTime
impl Unpin for PreciseLocalTime
impl UnwindSafe for PreciseLocalTime
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