pub struct ConnectionStat {
pub last_seen: u64,
}
Fields§
§last_seen: u64
Trait Implementations§
source§impl Clone for ConnectionStat
impl Clone for ConnectionStat
source§fn clone(&self) -> ConnectionStat
fn clone(&self) -> ConnectionStat
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 ConnectionStat
impl Debug for ConnectionStat
source§impl Decoder for ConnectionStat
impl Decoder for ConnectionStat
source§impl Default for ConnectionStat
impl Default for ConnectionStat
source§fn default() -> ConnectionStat
fn default() -> ConnectionStat
Returns the “default value” for a type. Read more
source§impl Encoder for ConnectionStat
impl Encoder for ConnectionStat
source§impl PartialEq for ConnectionStat
impl PartialEq for ConnectionStat
source§fn eq(&self, other: &ConnectionStat) -> bool
fn eq(&self, other: &ConnectionStat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ConnectionStat
impl StructuralPartialEq for ConnectionStat
Auto Trait Implementations§
impl Freeze for ConnectionStat
impl RefUnwindSafe for ConnectionStat
impl Send for ConnectionStat
impl Sync for ConnectionStat
impl Unpin for ConnectionStat
impl UnwindSafe for ConnectionStat
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.