Struct rusqbin::models::Request [] [src]

pub struct Request {
    pub content_length: Option<u64>,
    pub content_type: Option<String>,
    pub time: i64,
    pub method: String,
    pub path: String,
    pub body: Option<String>,
    pub headers: HashMap<String, Vec<String>>,
    pub query_string: HashMap<String, Vec<String>>,
}

A record of an HTTP request made to the server.

Fields

Trait Implementations

impl PartialEq for Request
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Request
[src]

Formats the value using the given formatter.

impl Eq for Request
[src]

impl Decodable for Request
[src]

Deserialize a value using a Decoder.

impl Encodable for Request
[src]

Serialize a value using an Encoder.