pub struct ActionContext {
pub cookies: Cookies,
pub headers: HeaderMap,
pub extensions: Extensions,
}Expand description
Request data available to actions declared as fn(ctx: ActionContext, input: T).
Fields§
§headers: HeaderMap§extensions: ExtensionsImplementations§
Source§impl ActionContext
impl ActionContext
Trait Implementations§
Source§impl Clone for ActionContext
impl Clone for ActionContext
Source§fn clone(&self) -> ActionContext
fn clone(&self) -> ActionContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ActionContext
impl !UnwindSafe for ActionContext
impl Forget for ActionContext
impl Freeze for ActionContext
impl Move for ActionContext
impl Send for ActionContext
impl Sync for ActionContext
impl Unpin for ActionContext
impl UnsafeUnpin for ActionContext
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