pub struct EventTimestamp(/* private fields */);Implementations§
Source§impl EventTimestamp
impl EventTimestamp
pub fn now() -> EventTimestamp
pub fn from_system_time(value: SystemTime) -> EventTimestamp
pub const fn as_system_time(&self) -> SystemTime
Trait Implementations§
Source§impl Clone for EventTimestamp
impl Clone for EventTimestamp
Source§fn clone(&self) -> EventTimestamp
fn clone(&self) -> EventTimestamp
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 EventTimestamp
impl Debug for EventTimestamp
Source§impl Default for EventTimestamp
impl Default for EventTimestamp
Source§fn default() -> EventTimestamp
fn default() -> EventTimestamp
Returns the “default value” for a type. Read more
Source§impl PartialEq for EventTimestamp
impl PartialEq for EventTimestamp
Source§fn eq(&self, other: &EventTimestamp) -> bool
fn eq(&self, other: &EventTimestamp) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EventTimestamp
impl Eq for EventTimestamp
impl StructuralPartialEq for EventTimestamp
Auto Trait Implementations§
impl Freeze for EventTimestamp
impl RefUnwindSafe for EventTimestamp
impl Send for EventTimestamp
impl Sync for EventTimestamp
impl Unpin for EventTimestamp
impl UnsafeUnpin for EventTimestamp
impl UnwindSafe for EventTimestamp
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