pub struct Routes {
pub service: &'static str,
pub prefix: &'static str,
pub policy: Option<&'static str>,
pub routes: &'static [RouteDef],
}Fields§
§service: &'static str§prefix: &'static str§policy: Option<&'static str>§routes: &'static [RouteDef]Trait Implementations§
Auto Trait Implementations§
impl Freeze for Routes
impl RefUnwindSafe for Routes
impl Send for Routes
impl Sync for Routes
impl Unpin for Routes
impl UnsafeUnpin for Routes
impl UnwindSafe for Routes
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