pub struct RouteGroup { /* private fields */ }Implementations§
Source§impl RouteGroup
impl RouteGroup
pub fn new() -> RouteGroup
pub fn prefix(self, prefix: impl Into<String>) -> RouteGroup
pub fn name(self, prefix: impl Into<String>) -> RouteGroup
pub fn middleware<M>(self, middleware: M) -> RouteGroupwhere
M: Middleware,
Trait Implementations§
Source§impl Clone for RouteGroup
impl Clone for RouteGroup
Source§fn clone(&self) -> RouteGroup
fn clone(&self) -> RouteGroup
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for RouteGroup
impl Default for RouteGroup
Source§fn default() -> RouteGroup
fn default() -> RouteGroup
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for RouteGroup
impl !UnwindSafe for RouteGroup
impl Freeze for RouteGroup
impl Send for RouteGroup
impl Sync for RouteGroup
impl Unpin for RouteGroup
impl UnsafeUnpin for RouteGroup
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