Struct mco_http::http::message::ResponseHead
source · pub struct ResponseHead {
pub headers: Headers,
pub raw_status: RawStatus,
pub version: HttpVersion,
}Expand description
Describes a response.
Fields§
§headers: HeadersThe headers of the reponse
raw_status: RawStatusThe raw status line of the response
version: HttpVersionThe HTTP/2 version which generated the response
Trait Implementations§
source§impl Clone for ResponseHead
impl Clone for ResponseHead
source§fn clone(&self) -> ResponseHead
fn clone(&self) -> ResponseHead
Returns a copy 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 !RefUnwindSafe for ResponseHead
impl Send for ResponseHead
impl !Sync for ResponseHead
impl Unpin for ResponseHead
impl !UnwindSafe for ResponseHead
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