pub struct CanonicalTime { /* private fields */ }Expand description
A time-of-day without timezone or leap seconds.
Implementations§
Trait Implementations§
Source§impl Clone for CanonicalTime
impl Clone for CanonicalTime
Source§fn clone(&self) -> CanonicalTime
fn clone(&self) -> CanonicalTime
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CanonicalTime
Source§impl Debug for CanonicalTime
impl Debug for CanonicalTime
Source§impl Display for CanonicalTime
impl Display for CanonicalTime
impl Eq for CanonicalTime
Source§impl FromStr for CanonicalTime
impl FromStr for CanonicalTime
Source§impl Hash for CanonicalTime
impl Hash for CanonicalTime
Source§impl Ord for CanonicalTime
impl Ord for CanonicalTime
Source§fn cmp(&self, other: &CanonicalTime) -> Ordering
fn cmp(&self, other: &CanonicalTime) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CanonicalTime
impl PartialEq for CanonicalTime
Source§impl PartialOrd for CanonicalTime
impl PartialOrd for CanonicalTime
impl StructuralPartialEq for CanonicalTime
Auto Trait Implementations§
impl Freeze for CanonicalTime
impl RefUnwindSafe for CanonicalTime
impl Send for CanonicalTime
impl Sync for CanonicalTime
impl Unpin for CanonicalTime
impl UnsafeUnpin for CanonicalTime
impl UnwindSafe for CanonicalTime
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