pub struct ExtensionRouter {
pub router: Router,
pub base_path: &'static str,
pub requires_auth: bool,
}Fields§
§router: Router§base_path: &'static str§requires_auth: boolImplementations§
Trait Implementations§
Source§impl Clone for ExtensionRouter
impl Clone for ExtensionRouter
Source§fn clone(&self) -> ExtensionRouter
fn clone(&self) -> ExtensionRouter
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 Freeze for ExtensionRouter
impl !RefUnwindSafe for ExtensionRouter
impl Send for ExtensionRouter
impl Sync for ExtensionRouter
impl Unpin for ExtensionRouter
impl !UnwindSafe for ExtensionRouter
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