pub struct DialogStats {
pub active_dialogs: usize,
pub total_dialogs: u64,
pub successful_calls: u64,
pub failed_calls: u64,
pub avg_call_duration: f64,
}
Expand description
Statistics for dialog API instances
Provides metrics about the performance and usage of a dialog API instance.
Fields§
§active_dialogs: usize
Number of currently active dialogs
total_dialogs: u64
Total number of dialogs created
successful_calls: u64
Number of successful calls (ended with BYE)
failed_calls: u64
Number of failed calls (ended with error)
avg_call_duration: f64
Average call duration in seconds
Trait Implementations§
Source§impl Clone for DialogStats
impl Clone for DialogStats
Source§fn clone(&self) -> DialogStats
fn clone(&self) -> DialogStats
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DialogStats
impl RefUnwindSafe for DialogStats
impl Send for DialogStats
impl Sync for DialogStats
impl Unpin for DialogStats
impl UnwindSafe for DialogStats
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