pub struct OperationStatistics {
pub total_count: u64,
pub success_count: u64,
pub avg_duration_ms: f64,
pub median_duration_ms: f64,
pub p95_duration_ms: f64,
pub p99_duration_ms: f64,
pub std_deviation_ms: f64,
pub operations_per_second: f64,
}Expand description
Statistics for a specific operation type
Fields§
§total_count: u64Total operations
success_count: u64Successful operations
avg_duration_ms: f64Average duration
median_duration_ms: f64Median duration
p95_duration_ms: f6495th percentile duration
p99_duration_ms: f6499th percentile duration
std_deviation_ms: f64Standard deviation
operations_per_second: f64Operations per second
Trait Implementations§
Source§impl Clone for OperationStatistics
impl Clone for OperationStatistics
Source§fn clone(&self) -> OperationStatistics
fn clone(&self) -> OperationStatistics
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 OperationStatistics
impl Debug for OperationStatistics
Source§impl<'de> Deserialize<'de> for OperationStatistics
impl<'de> Deserialize<'de> for OperationStatistics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OperationStatistics
impl RefUnwindSafe for OperationStatistics
impl Send for OperationStatistics
impl Sync for OperationStatistics
impl Unpin for OperationStatistics
impl UnwindSafe for OperationStatistics
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