Struct sentry::protocol::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: LinkedHashMap<String, String, RandomState>,
    pub env: LinkedHashMap<String, String, RandomState>,
    pub other: LinkedHashMap<String, Value, RandomState>,
}

Represents http request data.

Fields

The current URL of the request.

The HTTP request method.

Optionally some associated request data (human readable)

Optionally the encoded query string.

An encoded cookie string if available.

HTTP request headers.

Optionally a CGI/WSGI etc. environment dictionary.

Additional unhandled keys.

Trait Implementations

impl PartialEq<Request> for Request
[src]

[src]

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

[src]

This method tests for !=.

impl<'de> Deserialize<'de> for Request where
    Request: Default
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

impl Clone for Request
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Request
[src]

[src]

Formats the value using the given formatter. Read more

impl Serialize for Request
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl Default for Request
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Request

impl Sync for Request