Struct sentry_types::protocol::v7::Request [−][src]
pub struct Request { pub url: Option<Url>, pub method: Option<String>, pub data: Option<String>, pub query_string: Option<String>, pub cookies: Option<String>, pub headers: Map<String, String>, pub env: Map<String, String>, pub other: Map<String, Value>, }
Represents http request data.
Fields
url: Option<Url>
The current URL of the request.
method: Option<String>
The HTTP request method.
data: Option<String>
Optionally some associated request data (human readable)
query_string: Option<String>
Optionally the encoded query string.
An encoded cookie string if available.
headers: Map<String, String>
HTTP request headers.
env: Map<String, String>
Optionally a CGI/WSGI etc. environment dictionary.
other: Map<String, Value>
Additional arbitrary fields for forwards compatibility.
Trait Implementations
impl Debug for Request
[src]
impl Debug for Request
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Request
[src]
impl Default for Request
impl Clone for Request
[src]
impl Clone for Request
fn clone(&self) -> Request
[src]
fn clone(&self) -> Request
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Request
[src]
impl PartialEq for Request