Struct http::response::Parts[][src]

pub struct Parts {
    pub status: StatusCode,
    pub version: Version,
    pub headers: HeaderMap<HeaderValue>,
    pub extensions: Extensions,
    // some fields omitted
}

Component parts of an HTTP Response

The HTTP response head consists of a status, version, and a set of header fields.

Fields

The response's status

The response's version

The response's headers

The response'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