Struct EventTimestamp
pub struct EventTimestamp(/* private fields */);Implementations§
§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§
§impl Clone for EventTimestamp
impl Clone for EventTimestamp
§fn clone(&self) -> EventTimestamp
fn clone(&self) -> EventTimestamp
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 more§impl Debug for EventTimestamp
impl Debug for EventTimestamp
§impl Default for EventTimestamp
impl Default for EventTimestamp
§fn default() -> EventTimestamp
fn default() -> EventTimestamp
Returns the “default value” for a type. Read more
§impl PartialEq for EventTimestamp
impl PartialEq for EventTimestamp
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