pub struct ReqCtx {
pub query: String,
pub mount: String,
pub path_params: HashMap<String, String>,
pub headers: HashMap<String, String>,
pub claims: Option<Claims>,
}Fields§
§query: StringRaw query string (without leading ?).
mount: StringPrefix the adminx app is mounted at (e.g. /adminx), used to build links.
path_params: HashMap<String, String>§headers: HashMap<String, String>§claims: Option<Claims>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReqCtx
impl RefUnwindSafe for ReqCtx
impl Send for ReqCtx
impl Sync for ReqCtx
impl Unpin for ReqCtx
impl UnsafeUnpin for ReqCtx
impl UnwindSafe for ReqCtx
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