pub struct ClientStatsSnapshot {
pub sender_id: String,
pub connected: bool,
pub side_ids: Vec<usize>,
pub side_names: Vec<&'static str>,
pub last_seen_ms: Option<u64>,
pub age_ms: Option<u64>,
pub reachable_endpoints: Vec<DataEndpoint>,
pub reachable_timesync_sources: Vec<String>,
pub packets_sent: u64,
pub packets_received: u64,
pub bytes_sent: u64,
pub bytes_received: u64,
}Fields§
§sender_id: String§connected: bool§side_ids: Vec<usize>§side_names: Vec<&'static str>§last_seen_ms: Option<u64>§age_ms: Option<u64>§reachable_endpoints: Vec<DataEndpoint>§reachable_timesync_sources: Vec<String>§packets_sent: u64§packets_received: u64§bytes_sent: u64§bytes_received: u64Trait Implementations§
Source§impl Clone for ClientStatsSnapshot
impl Clone for ClientStatsSnapshot
Source§fn clone(&self) -> ClientStatsSnapshot
fn clone(&self) -> ClientStatsSnapshot
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 ClientStatsSnapshot
impl Debug for ClientStatsSnapshot
impl Eq for ClientStatsSnapshot
Source§impl PartialEq for ClientStatsSnapshot
impl PartialEq for ClientStatsSnapshot
Source§fn eq(&self, other: &ClientStatsSnapshot) -> bool
fn eq(&self, other: &ClientStatsSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClientStatsSnapshot
Auto Trait Implementations§
impl Freeze for ClientStatsSnapshot
impl RefUnwindSafe for ClientStatsSnapshot
impl Send for ClientStatsSnapshot
impl Sync for ClientStatsSnapshot
impl Unpin for ClientStatsSnapshot
impl UnsafeUnpin for ClientStatsSnapshot
impl UnwindSafe for ClientStatsSnapshot
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