pub struct Exchange {
pub request: Request,
pub response: Response,
}Expand description
Represents an HTTP exchange, a pair of a request and a response.
Fields§
§request: Request§response: ResponseTrait Implementations§
Auto Trait Implementations§
impl Freeze for Exchange
impl !RefUnwindSafe for Exchange
impl Send for Exchange
impl Sync for Exchange
impl Unpin for Exchange
impl !UnwindSafe for Exchange
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