pub struct Router {
pub path: String,
pub route: Route,
pub checker: Option<Rc<dyn Checker>>,
pub csrf: CSRFType,
}Available on crate feature
router only.Fields§
§path: String§route: Route§checker: Option<Rc<dyn Checker>>§csrf: CSRFTypeAvailable on crate feature
csrf only.Auto Trait Implementations§
impl Freeze for Router
impl !RefUnwindSafe for Router
impl !Send for Router
impl !Sync for Router
impl Unpin for Router
impl !UnwindSafe for Router
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