pub struct HandlerArgs<Context: Context, Params: Send + Sync = Empty, InheritedParams: Send + Sync = Empty> {
pub context: Context,
pub parent_method: VecDeque<&'static str>,
pub method: VecDeque<&'static str>,
pub params: Params,
pub inherited_params: InheritedParams,
pub raw_params: Value,
}
Fields§
§context: Context
§parent_method: VecDeque<&'static str>
§method: VecDeque<&'static str>
§params: Params
§inherited_params: InheritedParams
§raw_params: Value
Trait Implementations§
Source§impl<Context: Clone + Context, Params: Clone + Send + Sync, InheritedParams: Clone + Send + Sync> Clone for HandlerArgs<Context, Params, InheritedParams>
impl<Context: Clone + Context, Params: Clone + Send + Sync, InheritedParams: Clone + Send + Sync> Clone for HandlerArgs<Context, Params, InheritedParams>
Source§fn clone(&self) -> HandlerArgs<Context, Params, InheritedParams>
fn clone(&self) -> HandlerArgs<Context, Params, InheritedParams>
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 moreAuto Trait Implementations§
impl<Context, Params, InheritedParams> Freeze for HandlerArgs<Context, Params, InheritedParams>
impl<Context, Params, InheritedParams> RefUnwindSafe for HandlerArgs<Context, Params, InheritedParams>
impl<Context, Params, InheritedParams> Send for HandlerArgs<Context, Params, InheritedParams>
impl<Context, Params, InheritedParams> Sync for HandlerArgs<Context, Params, InheritedParams>
impl<Context, Params, InheritedParams> Unpin for HandlerArgs<Context, Params, InheritedParams>
impl<Context, Params, InheritedParams> UnwindSafe for HandlerArgs<Context, Params, InheritedParams>
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