pub struct ClientStats {
pub total_requests: u64,
pub total_thoughts: u64,
pub total_sessions: u64,
pub avg_response_time_ms: f64,
pub total_response_time_ms: u64,
pub error_count: u64,
pub retry_count: u64,
}Expand description
Client statistics
Fields§
§total_requests: u64Total requests made
total_thoughts: u64Total thoughts processed
total_sessions: u64Total sessions created
avg_response_time_ms: f64Average response time in milliseconds
total_response_time_ms: u64Total response time in milliseconds
error_count: u64Error count
retry_count: u64Retry count
Trait Implementations§
Source§impl Clone for ClientStats
impl Clone for ClientStats
Source§fn clone(&self) -> ClientStats
fn clone(&self) -> ClientStats
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 moreSource§impl Debug for ClientStats
impl Debug for ClientStats
Source§impl Default for ClientStats
impl Default for ClientStats
Source§fn default() -> ClientStats
fn default() -> ClientStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClientStats
impl RefUnwindSafe for ClientStats
impl Send for ClientStats
impl Sync for ClientStats
impl Unpin for ClientStats
impl UnwindSafe for ClientStats
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