pub struct SubResponse {
pub status: u16,
pub headers: HeaderMap,
pub body: Bytes,
}Expand description
The response from a sub-request exchange.
Fields§
§status: u16HTTP status code.
headers: HeaderMapResponse headers.
body: BytesBuffered response body.
Trait Implementations§
Source§impl Clone for SubResponse
impl Clone for SubResponse
Source§fn clone(&self) -> SubResponse
fn clone(&self) -> SubResponse
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 SubResponse
impl RefUnwindSafe for SubResponse
impl Send for SubResponse
impl Sync for SubResponse
impl Unpin for SubResponse
impl UnsafeUnpin for SubResponse
impl UnwindSafe for SubResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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