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

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

Describes a response.

Fields

headers

The headers of the reponse

raw_status

The raw status line of the response

version

The HTTP/2 version which generated the response

Trait Implementations

Derived Implementations

impl Debug for ResponseHead

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

impl Clone for ResponseHead

fn clone(&self) -> ResponseHead

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