Struct hyper::http::message::ResponseHead [] [src]

pub struct ResponseHead {
    pub headers: Headers,
    pub raw_status: RawStatus,
    pub version: HttpVersion,
}

Describes a response.

Fields

headers: Headers

The headers of the reponse

raw_status: RawStatus

The raw status line of the response

version: HttpVersion

The HTTP/2 version which generated the response

Trait Implementations

impl Debug for ResponseHead
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for ResponseHead
[src]

fn clone(&self) -> ResponseHead

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more