Struct actix_tools::sentry::sentry_client::protocol::Request[]

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 Serialize for Request

Serialize this value into the given Serde serializer. Read more

impl Clone for Request

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Request

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

impl Debug for Request

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for Request where
    Request: Default

Deserialize this value from the given Serde deserializer. Read more

impl PartialEq<Request> for Request

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

This method tests for !=.

Auto Trait Implementations

impl Send for Request

impl Sync for Request