pub struct CollectedResponse {
pub status: StatusCode,
pub headers: HeaderMap,
pub body: Vec<u8>,
pub effective_url: String,
}Expand description
Fully collected response returned by crate::Client::send_collect.
Fields§
§status: StatusCodeFinal HTTP response status.
headers: HeaderMapFinal HTTP response headers.
body: Vec<u8>Decoded response body bytes.
effective_url: StringEffective URL after redirects, if redirects were followed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CollectedResponse
impl RefUnwindSafe for CollectedResponse
impl Send for CollectedResponse
impl Sync for CollectedResponse
impl Unpin for CollectedResponse
impl UnsafeUnpin for CollectedResponse
impl UnwindSafe for CollectedResponse
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