Struct sentry_types::protocol::v7::Request
source · 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>,
}
Expand description
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.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Request
impl<'de> Deserialize<'de> for Request
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)