pub struct ProductionClientStats {
pub total_requests: u64,
pub cache_hits: u64,
pub cache_misses: u64,
pub circuit_breaker_rejections: u64,
pub successful_requests: u64,
pub failed_requests: u64,
pub average_response_time_ms: f64,
}Expand description
Production client statistics
Fields§
§total_requests: u64§cache_hits: u64§cache_misses: u64§circuit_breaker_rejections: u64§successful_requests: u64§failed_requests: u64§average_response_time_ms: f64Trait Implementations§
Source§impl Debug for ProductionClientStats
impl Debug for ProductionClientStats
Source§impl Default for ProductionClientStats
impl Default for ProductionClientStats
Source§fn default() -> ProductionClientStats
fn default() -> ProductionClientStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProductionClientStats
impl RefUnwindSafe for ProductionClientStats
impl Send for ProductionClientStats
impl Sync for ProductionClientStats
impl Unpin for ProductionClientStats
impl UnwindSafe for ProductionClientStats
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more