pub struct ReportMetrics {
pub total_requests: u64,
pub successful_requests: u64,
pub failed_requests: u64,
pub avg_latency_ms: f64,
pub p95_latency_ms: f64,
pub p99_latency_ms: f64,
pub error_rate: f64,
}
Expand description
Report metrics
Fields§
§total_requests: u64
§successful_requests: u64
§failed_requests: u64
§avg_latency_ms: f64
§p95_latency_ms: f64
§p99_latency_ms: f64
§error_rate: f64
Trait Implementations§
Source§impl Clone for ReportMetrics
impl Clone for ReportMetrics
Source§fn clone(&self) -> ReportMetrics
fn clone(&self) -> ReportMetrics
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 ReportMetrics
impl Debug for ReportMetrics
Source§impl<'de> Deserialize<'de> for ReportMetrics
impl<'de> Deserialize<'de> for ReportMetrics
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 ReportMetrics
impl RefUnwindSafe for ReportMetrics
impl Send for ReportMetrics
impl Sync for ReportMetrics
impl Unpin for ReportMetrics
impl UnwindSafe for ReportMetrics
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