pub enum Timestamp {
WholeSeconds(i64),
FractionalSeconds(f64),
}
Expand description
Number of seconds since UNIX epoch.
Variants§
Trait Implementations§
source§impl AsCborValue for Timestamp
impl AsCborValue for Timestamp
source§impl PartialEq for Timestamp
impl PartialEq for Timestamp
impl StructuralPartialEq for Timestamp
Auto Trait Implementations§
impl Freeze for Timestamp
impl RefUnwindSafe for Timestamp
impl Send for Timestamp
impl Sync for Timestamp
impl Unpin for Timestamp
impl UnwindSafe for Timestamp
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