pub struct ResolutionStats {
pub service_name: String,
pub total_resolutions: usize,
pub successful_resolutions: usize,
pub failed_resolutions: usize,
pub total_duration_ms: f64,
pub average_duration_ms: f64,
pub min_duration_ms: f64,
pub max_duration_ms: f64,
pub last_resolution: Option<Instant>,
}
Expand description
Resolution statistics for a service
Fields§
§service_name: String
§total_resolutions: usize
§successful_resolutions: usize
§failed_resolutions: usize
§total_duration_ms: f64
§average_duration_ms: f64
§min_duration_ms: f64
§max_duration_ms: f64
§last_resolution: Option<Instant>
Implementations§
Trait Implementations§
Source§impl Clone for ResolutionStats
impl Clone for ResolutionStats
Source§fn clone(&self) -> ResolutionStats
fn clone(&self) -> ResolutionStats
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 moreAuto Trait Implementations§
impl Freeze for ResolutionStats
impl RefUnwindSafe for ResolutionStats
impl Send for ResolutionStats
impl Sync for ResolutionStats
impl Unpin for ResolutionStats
impl UnwindSafe for ResolutionStats
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