pub enum UniversalTimestamp {
Utc(Timestamp<UTC>),
Tai(Timestamp<TAI>),
}Expand description
A timestamp that can be in either the UTC or TAI timescales.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for UniversalTimestamp
impl Clone for UniversalTimestamp
impl Copy for UniversalTimestamp
Source§impl Debug for UniversalTimestamp
impl Debug for UniversalTimestamp
impl Eq for UniversalTimestamp
Source§impl Hash for UniversalTimestamp
impl Hash for UniversalTimestamp
Source§impl PartialEq for UniversalTimestamp
impl PartialEq for UniversalTimestamp
impl StructuralPartialEq for UniversalTimestamp
Auto Trait Implementations§
impl Freeze for UniversalTimestamp
impl RefUnwindSafe for UniversalTimestamp
impl Send for UniversalTimestamp
impl Sync for UniversalTimestamp
impl Unpin for UniversalTimestamp
impl UnsafeUnpin for UniversalTimestamp
impl UnwindSafe for UniversalTimestamp
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