Struct hyper::http::h1::Incoming [] [src]

pub struct Incoming<S> {
    pub version: HttpVersion,
    pub subject: S,
    pub headers: Headers,
}

An Incoming Message head. Includes request/status line, and headers.

Fields

version: HttpVersion

HTTP version of the message.

subject: S

Subject (request line or status line) of Incoming message.

headers: Headers

Headers of the Incoming message.

Trait Implementations

impl<S: Debug> Debug for Incoming<S>
[src]

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

Formats the value using the given formatter.