pub struct HttpResponseMetric {
pub latency: Duration,
pub status_code: u16,
pub bytes_sent: u64,
pub bytes_received: u64,
}Fields§
§latency: Duration§status_code: u16§bytes_sent: u64§bytes_received: u64Trait Implementations§
Source§impl Clone for HttpResponseMetric
impl Clone for HttpResponseMetric
Source§fn clone(&self) -> HttpResponseMetric
fn clone(&self) -> HttpResponseMetric
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 PartialEq for HttpResponseMetric
impl PartialEq for HttpResponseMetric
Source§impl PartialOrd for HttpResponseMetric
impl PartialOrd for HttpResponseMetric
impl StructuralPartialEq for HttpResponseMetric
Auto Trait Implementations§
impl Freeze for HttpResponseMetric
impl RefUnwindSafe for HttpResponseMetric
impl Send for HttpResponseMetric
impl Sync for HttpResponseMetric
impl Unpin for HttpResponseMetric
impl UnwindSafe for HttpResponseMetric
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