pub struct HttpResponseMeta {
pub status: StatusCode,
pub headers: HeaderMap,
pub url: Url,
pub method: Method,
}Expand description
HTTP response metadata available before body buffering/stream consumption.
Fields§
§status: StatusCodeResponse status code.
headers: HeaderMapResponse headers.
url: UrlFinal resolved URL.
method: MethodOriginating request method.
Implementations§
Trait Implementations§
Source§impl Clone for HttpResponseMeta
impl Clone for HttpResponseMeta
Source§fn clone(&self) -> HttpResponseMeta
fn clone(&self) -> HttpResponseMeta
Returns a duplicate of the value. Read more
1.0.0 · 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 HttpResponseMeta
impl RefUnwindSafe for HttpResponseMeta
impl Send for HttpResponseMeta
impl Sync for HttpResponseMeta
impl Unpin for HttpResponseMeta
impl UnsafeUnpin for HttpResponseMeta
impl UnwindSafe for HttpResponseMeta
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