pub struct PerformanceStats {
pub total_requests: u64,
pub successful_requests: u64,
pub failed_requests: u64,
pub average_response_time_ms: f64,
pub success_rate_percent: f64,
}Expand description
Performance statistics
Fields§
§total_requests: u64Total requests
successful_requests: u64Successful requests
failed_requests: u64Failed requests
average_response_time_ms: f64Average response time (milliseconds)
success_rate_percent: f64Success rate (percentage)
Trait Implementations§
Source§impl Clone for PerformanceStats
impl Clone for PerformanceStats
Source§fn clone(&self) -> PerformanceStats
fn clone(&self) -> PerformanceStats
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 PerformanceStats
impl Debug for PerformanceStats
Auto Trait Implementations§
impl Freeze for PerformanceStats
impl RefUnwindSafe for PerformanceStats
impl Send for PerformanceStats
impl Sync for PerformanceStats
impl Unpin for PerformanceStats
impl UnsafeUnpin for PerformanceStats
impl UnwindSafe for PerformanceStats
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