pub struct ByteCounts {
pub request_body: u64,
pub response_body: u64,
}Expand description
Content-free request and response byte counts.
request_body is the serialized body size for one HTTP attempt. Retries
reuse the same logical body. response_body is the cumulative decoded body
size across retries and stream reconnects, including provider error bodies.
Fields§
§request_body: u64Serialized request body size for one HTTP attempt; retries reuse the same logical body.
response_body: u64Cumulative decoded response body size across retries and stream reconnects, including provider error bodies.
Trait Implementations§
Source§impl Clone for ByteCounts
impl Clone for ByteCounts
impl Copy for ByteCounts
Source§impl Debug for ByteCounts
impl Debug for ByteCounts
Source§impl Default for ByteCounts
impl Default for ByteCounts
impl Eq for ByteCounts
Source§impl PartialEq for ByteCounts
impl PartialEq for ByteCounts
impl StructuralPartialEq for ByteCounts
Auto Trait Implementations§
impl Freeze for ByteCounts
impl RefUnwindSafe for ByteCounts
impl Send for ByteCounts
impl Sync for ByteCounts
impl Unpin for ByteCounts
impl UnsafeUnpin for ByteCounts
impl UnwindSafe for ByteCounts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.