#[repr(C)]pub struct ServerMetrics {
pub uptime_hrs: f64,
pub total_sessions: u64,
pub active_sessions: u64,
pub total_network_bandwidth: u64,
}Expand description
Represents server metrics that can be sent to clients or used for monitoring.
Fields§
§uptime_hrs: f64§total_sessions: u64§active_sessions: u64§total_network_bandwidth: u64Implementations§
Auto Trait Implementations§
impl Freeze for ServerMetrics
impl RefUnwindSafe for ServerMetrics
impl Send for ServerMetrics
impl Sync for ServerMetrics
impl Unpin for ServerMetrics
impl UnsafeUnpin for ServerMetrics
impl UnwindSafe for ServerMetrics
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