pub struct IrTimestamp {
pub seconds: i64,
pub nanos: u32,
}Expand description
MessagePack-friendly timestamp; interoperable with JSON via RFC3339 if needed.
Fields§
§seconds: i64§nanos: u32Trait Implementations§
Source§impl Clone for IrTimestamp
impl Clone for IrTimestamp
Source§fn clone(&self) -> IrTimestamp
fn clone(&self) -> IrTimestamp
Returns a duplicate of the value. Read more
1.0.0 · 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 IrTimestamp
impl Debug for IrTimestamp
Source§impl From<IrTimestamp> for IrValue
impl From<IrTimestamp> for IrValue
Source§fn from(v: IrTimestamp) -> Self
fn from(v: IrTimestamp) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IrTimestamp
impl PartialEq for IrTimestamp
impl Copy for IrTimestamp
impl Eq for IrTimestamp
impl StructuralPartialEq for IrTimestamp
Auto Trait Implementations§
impl Freeze for IrTimestamp
impl RefUnwindSafe for IrTimestamp
impl Send for IrTimestamp
impl Sync for IrTimestamp
impl Unpin for IrTimestamp
impl UnwindSafe for IrTimestamp
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