pub struct ServiceStatistics {
pub request_count: u64,
pub error_count: u64,
pub total_latency_ms: u64,
pub avg_latency_ms: u64,
}Expand description
Service statistics (snapshot at a point in time)
Fields§
§request_count: u64§error_count: u64§total_latency_ms: u64§avg_latency_ms: u64Trait Implementations§
Source§impl Clone for ServiceStatistics
impl Clone for ServiceStatistics
Source§fn clone(&self) -> ServiceStatistics
fn clone(&self) -> ServiceStatistics
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 ServiceStatistics
impl Debug for ServiceStatistics
Source§impl Default for ServiceStatistics
impl Default for ServiceStatistics
Source§fn default() -> ServiceStatistics
fn default() -> ServiceStatistics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ServiceStatistics
impl RefUnwindSafe for ServiceStatistics
impl Send for ServiceStatistics
impl Sync for ServiceStatistics
impl Unpin for ServiceStatistics
impl UnwindSafe for ServiceStatistics
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