pub struct UtcInstant(/* private fields */);Expand description
Whole-second UTC instant; the fixed-width form makes lexicographic order chronological, so ordering derives from the raw string.
Implementations§
Trait Implementations§
Source§impl Clone for UtcInstant
impl Clone for UtcInstant
Source§fn clone(&self) -> UtcInstant
fn clone(&self) -> UtcInstant
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 moreSource§impl Debug for UtcInstant
impl Debug for UtcInstant
impl Eq for UtcInstant
Source§impl Ord for UtcInstant
impl Ord for UtcInstant
Source§fn cmp(&self, other: &UtcInstant) -> Ordering
fn cmp(&self, other: &UtcInstant) -> 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
Source§impl PartialEq for UtcInstant
impl PartialEq for UtcInstant
Source§impl PartialOrd for UtcInstant
impl PartialOrd for UtcInstant
impl StructuralPartialEq for UtcInstant
Auto Trait Implementations§
impl Freeze for UtcInstant
impl RefUnwindSafe for UtcInstant
impl Send for UtcInstant
impl Sync for UtcInstant
impl Unpin for UtcInstant
impl UnsafeUnpin for UtcInstant
impl UnwindSafe for UtcInstant
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