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
content_length: Option<u64>
content_type: Option<String>
time: i64
method: String
path: String
body: Option<String>
headers: HashMap<String, Vec<String>>
query_string: HashMap<String, Vec<String>>
Trait Implementations
impl PartialEq for Request
[src]
fn eq(&self, __arg_0: &Request) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Request) -> bool
This method tests for !=
.
impl Debug for Request
[src]
impl Eq for Request
[src]
impl Decodable for Request
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Request, __D::Error>
Deserialize a value using a Decoder
.