pub struct Scope<T: 'static> {
pub routes: &'static [Api<T>],
pub name: &'static str,
pub scope: usize,
}Fields§
§routes: &'static [Api<T>]§name: &'static str§scope: usizeTrait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Scope<T>
impl<T> RefUnwindSafe for Scope<T>
impl<T> Send for Scope<T>
impl<T> Sync for Scope<T>
impl<T> Unpin for Scope<T>
impl<T> UnwindSafe for Scope<T>
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