Struct http::request::Parts[][src]

pub struct Parts {
    pub method: Method,
    pub uri: Uri,
    pub version: Version,
    pub headers: HeaderMap<HeaderValue>,
    pub extensions: Extensions,
    // some fields omitted
}

Component parts of an HTTP Request

The HTTP request head consists of a method, uri, version, and a set of header fields.

Fields

The request's method

The request's URI

The request's version

The request's headers

The request's extensions

Trait Implementations

impl Debug for Parts
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Parts

impl Sync for Parts