pub struct RequestExecution {Show 24 fields
pub customer_app: String,
pub site_id: Option<String>,
pub site_display_name: Option<String>,
pub brand_name: Option<String>,
pub method: HttpMethod,
pub host: String,
pub path: String,
pub headers: BTreeMap<String, String>,
pub query_params: RequestFieldMap,
pub form_fields: RequestFieldMap,
pub content_type: Option<String>,
pub raw_body: Vec<u8>,
pub route: ResolvedRoute,
pub route_area: RouteArea,
pub locale: String,
pub trace: RequestTraceContext,
pub session: SessionContext,
pub principal: PrincipalContext,
pub cache: CacheDisposition,
pub cache_plan: ExecutedCachePlan,
pub middleware: Vec<MiddlewareStage>,
pub response: HandlerResponse,
pub flash_messages: Vec<FlashMessage>,
pub response_cookies: Vec<String>,
}Fields§
§customer_app: String§site_id: Option<String>§site_display_name: Option<String>§brand_name: Option<String>§method: HttpMethod§host: String§path: String§headers: BTreeMap<String, String>§query_params: RequestFieldMap§form_fields: RequestFieldMap§content_type: Option<String>§raw_body: Vec<u8>§route: ResolvedRoute§route_area: RouteArea§locale: String§trace: RequestTraceContext§session: SessionContext§principal: PrincipalContext§cache: CacheDisposition§cache_plan: ExecutedCachePlan§middleware: Vec<MiddlewareStage>§response: HandlerResponse§flash_messages: Vec<FlashMessage>Trait Implementations§
Source§impl Clone for RequestExecution
impl Clone for RequestExecution
Source§fn clone(&self) -> RequestExecution
fn clone(&self) -> RequestExecution
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RequestExecution
impl Debug for RequestExecution
Source§impl PartialEq for RequestExecution
impl PartialEq for RequestExecution
impl Eq for RequestExecution
impl StructuralPartialEq for RequestExecution
Auto Trait Implementations§
impl Freeze for RequestExecution
impl RefUnwindSafe for RequestExecution
impl Send for RequestExecution
impl Sync for RequestExecution
impl Unpin for RequestExecution
impl UnsafeUnpin for RequestExecution
impl UnwindSafe for RequestExecution
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more