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

pub struct RequestHead {
    pub headers: Headers,
    pub method: Method,
    pub url: Url,
}

Describes a request.

Fields

headers: Headers

The headers of the request

method: Method

The method of the request

url: Url

The URL of the request

Trait Implementations

impl Debug for RequestHead
[src]

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

Formats the value using the given formatter.

impl Clone for RequestHead
[src]

fn clone(&self) -> RequestHead

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