pub struct RetainedBytes {
pub request: Vec<u8>,
pub response: Option<Vec<u8>>,
}Expand description
Request and response bytes, retained only under explicit retention.
Fields§
§request: Vec<u8>§response: Option<Vec<u8>>Trait Implementations§
Source§impl Clone for RetainedBytes
impl Clone for RetainedBytes
Source§impl Debug for RetainedBytes
impl Debug for RetainedBytes
impl Eq for RetainedBytes
Source§impl PartialEq for RetainedBytes
impl PartialEq for RetainedBytes
impl StructuralPartialEq for RetainedBytes
Auto Trait Implementations§
impl Freeze for RetainedBytes
impl RefUnwindSafe for RetainedBytes
impl Send for RetainedBytes
impl Sync for RetainedBytes
impl Unpin for RetainedBytes
impl UnsafeUnpin for RetainedBytes
impl UnwindSafe for RetainedBytes
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