#[repr(transparent)]pub struct UnixNanos(pub u64);
Expand description
UTC timestamp used by Ora, nanoseconds since the unix epoch.
Tuple Fields§
§0: u64
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UnixNanos
impl<'de> Deserialize<'de> for UnixNanos
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<OffsetDateTime> for UnixNanos
impl From<OffsetDateTime> for UnixNanos
Source§fn from(value: OffsetDateTime) -> Self
fn from(value: OffsetDateTime) -> Self
Converts to this type from the input type.
Source§impl From<UnixNanos> for OffsetDateTime
impl From<UnixNanos> for OffsetDateTime
Source§impl Ord for UnixNanos
impl Ord for UnixNanos
Source§impl PartialOrd for UnixNanos
impl PartialOrd for UnixNanos
impl Copy for UnixNanos
impl Eq for UnixNanos
impl StructuralPartialEq for UnixNanos
Auto Trait Implementations§
impl Freeze for UnixNanos
impl RefUnwindSafe for UnixNanos
impl Send for UnixNanos
impl Sync for UnixNanos
impl Unpin for UnixNanos
impl UnwindSafe for UnixNanos
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