pub struct ServerVisitTimestamp(pub u64);
Expand description
Visit timestamps on the server are microseconds since the epoch.
Tuple Fields§
§0: u64
Trait Implementations§
source§impl Clone for ServerVisitTimestamp
impl Clone for ServerVisitTimestamp
source§fn clone(&self) -> ServerVisitTimestamp
fn clone(&self) -> ServerVisitTimestamp
Returns a copy 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 ServerVisitTimestamp
impl Debug for ServerVisitTimestamp
source§impl Default for ServerVisitTimestamp
impl Default for ServerVisitTimestamp
source§fn default() -> ServerVisitTimestamp
fn default() -> ServerVisitTimestamp
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ServerVisitTimestamp
impl<'de> Deserialize<'de> for ServerVisitTimestamp
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 Display for ServerVisitTimestamp
impl Display for ServerVisitTimestamp
source§impl From<ServerVisitTimestamp> for Timestamp
impl From<ServerVisitTimestamp> for Timestamp
source§fn from(ts: ServerVisitTimestamp) -> Timestamp
fn from(ts: ServerVisitTimestamp) -> Timestamp
Converts to this type from the input type.
source§impl From<SystemTime> for ServerVisitTimestamp
impl From<SystemTime> for ServerVisitTimestamp
source§fn from(st: SystemTime) -> Self
fn from(st: SystemTime) -> Self
Converts to this type from the input type.
source§impl From<Timestamp> for ServerVisitTimestamp
impl From<Timestamp> for ServerVisitTimestamp
source§fn from(ts: Timestamp) -> ServerVisitTimestamp
fn from(ts: Timestamp) -> ServerVisitTimestamp
Converts to this type from the input type.
source§impl Hash for ServerVisitTimestamp
impl Hash for ServerVisitTimestamp
source§impl Ord for ServerVisitTimestamp
impl Ord for ServerVisitTimestamp
source§fn cmp(&self, other: &ServerVisitTimestamp) -> Ordering
fn cmp(&self, other: &ServerVisitTimestamp) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ServerVisitTimestamp
impl PartialEq for ServerVisitTimestamp
source§impl PartialOrd for ServerVisitTimestamp
impl PartialOrd for ServerVisitTimestamp
source§impl Serialize for ServerVisitTimestamp
impl Serialize for ServerVisitTimestamp
impl Copy for ServerVisitTimestamp
impl Eq for ServerVisitTimestamp
impl StructuralPartialEq for ServerVisitTimestamp
Auto Trait Implementations§
impl Freeze for ServerVisitTimestamp
impl RefUnwindSafe for ServerVisitTimestamp
impl Send for ServerVisitTimestamp
impl Sync for ServerVisitTimestamp
impl Unpin for ServerVisitTimestamp
impl UnwindSafe for ServerVisitTimestamp
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more