pub struct BuildCtx<'a> {
pub state: &'a StateMap,
pub installed_plugins: &'a HashSet<&'static str>,
pub route_path: &'a str,
pub route_method: Option<&'a Method>,
}Expand description
Context passed to RouteValue::check during crate::App::build.
Fields§
§state: &'a StateMap§installed_plugins: &'a HashSet<&'static str>§route_path: &'a str§route_method: Option<&'a Method>Auto Trait Implementations§
impl<'a> !RefUnwindSafe for BuildCtx<'a>
impl<'a> !UnwindSafe for BuildCtx<'a>
impl<'a> Freeze for BuildCtx<'a>
impl<'a> Send for BuildCtx<'a>
impl<'a> Sync for BuildCtx<'a>
impl<'a> Unpin for BuildCtx<'a>
impl<'a> UnsafeUnpin for BuildCtx<'a>
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