pub struct HttpAggregate {
pub latency_hist: Histogram<u64>,
pub status_count: HashMap<u16, u64>,
pub total_bytes_sent: u64,
pub total_bytes_received: u64,
pub count: u64,
pub failure_count: u64,
}Fields§
§latency_hist: Histogram<u64>§status_count: HashMap<u16, u64>§total_bytes_sent: u64§total_bytes_received: u64§count: u64§failure_count: u64Trait Implementations§
Source§impl Aggregate for HttpAggregate
impl Aggregate for HttpAggregate
Source§type Metric = HttpMetric
type Metric = HttpMetric
The metric type this aggregate summarizes.
Source§impl Clone for HttpAggregate
impl Clone for HttpAggregate
Source§fn clone(&self) -> HttpAggregate
fn clone(&self) -> HttpAggregate
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 From<HttpAggregate> for HttpReport
impl From<HttpAggregate> for HttpReport
Source§fn from(value: HttpAggregate) -> Self
fn from(value: HttpAggregate) -> Self
Converts to this type from the input type.
impl Report<HttpAggregate> for HttpReport
Auto Trait Implementations§
impl Freeze for HttpAggregate
impl RefUnwindSafe for HttpAggregate
impl Send for HttpAggregate
impl Sync for HttpAggregate
impl Unpin for HttpAggregate
impl UnwindSafe for HttpAggregate
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