pub struct HttpReport {
pub req_duration: HttpLatencyStats,
pub reqs_total: u64,
pub req_failure_ratio: f64,
pub status_codes: HashMap<u16, u64>,
pub data_sent: u64,
pub data_received: u64,
}Fields§
§req_duration: HttpLatencyStats§reqs_total: u64§req_failure_ratio: f64§status_codes: HashMap<u16, u64>§data_sent: u64§data_received: u64Trait Implementations§
Source§impl Debug for HttpReport
impl Debug for HttpReport
Source§impl<'de> Deserialize<'de> for HttpReport
impl<'de> Deserialize<'de> for HttpReport
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
Source§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.
Source§impl Serialize for HttpReport
impl Serialize for HttpReport
impl Report<HttpAggregate> for HttpReport
Auto Trait Implementations§
impl Freeze for HttpReport
impl RefUnwindSafe for HttpReport
impl Send for HttpReport
impl Sync for HttpReport
impl Unpin for HttpReport
impl UnwindSafe for HttpReport
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