pub struct Route<'a> {
pub paths: Vec<PathItem<'a>>,
pub method: Option<&'a str>,
pub callback: RouteCallback,
}
Fields§
§paths: Vec<PathItem<'a>>
§method: Option<&'a str>
§callback: RouteCallback
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Route<'a>
impl<'a> RefUnwindSafe for Route<'a>
impl<'a> Send for Route<'a>
impl<'a> Sync for Route<'a>
impl<'a> Unpin for Route<'a>
impl<'a> UnwindSafe for Route<'a>
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