pub struct ResponseContext {
pub request: RequestContext,
pub response: Response,
}Expand description
Context after a buffered response is received.
Fields§
§request: RequestContextOriginal request context.
response: ResponseResponse from the transport (may be mutated by hooks).
Trait Implementations§
Source§impl Clone for ResponseContext
impl Clone for ResponseContext
Source§fn clone(&self) -> ResponseContext
fn clone(&self) -> ResponseContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for ResponseContext
impl !RefUnwindSafe for ResponseContext
impl Send for ResponseContext
impl Sync for ResponseContext
impl Unpin for ResponseContext
impl UnsafeUnpin for ResponseContext
impl !UnwindSafe for ResponseContext
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