pub struct Response {
pub status: u16,
pub headers: HeaderMap,
pub url: Url,
pub body: Vec<u8>,
}Expand description
A response, read in full.
Fields§
§status: u16§headers: HeaderMap§url: UrlWhere the response came from, after any redirects.
body: Vec<u8>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnsafeUnpin for Response
impl UnwindSafe for Response
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