pub struct ServerStats {
pub active_dialogs: usize,
pub total_dialogs: u64,
pub successful_calls: u64,
pub failed_calls: u64,
pub total_call_duration: f64,
}
Expand description
Internal statistics tracking
Fields§
§active_dialogs: usize
§total_dialogs: u64
§successful_calls: u64
§failed_calls: u64
§total_call_duration: f64
Trait Implementations§
Source§impl Debug for ServerStats
impl Debug for ServerStats
Source§impl Default for ServerStats
impl Default for ServerStats
Source§fn default() -> ServerStats
fn default() -> ServerStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ServerStats
impl RefUnwindSafe for ServerStats
impl Send for ServerStats
impl Sync for ServerStats
impl Unpin for ServerStats
impl UnwindSafe for ServerStats
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