pub struct RouteMeta {
pub method: HttpMethod,
pub path: String,
}Expand description
Route metadata: method + path pattern.
Fields§
§method: HttpMethod§path: StringImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RouteMeta
impl RefUnwindSafe for RouteMeta
impl Send for RouteMeta
impl Sync for RouteMeta
impl Unpin for RouteMeta
impl UnsafeUnpin for RouteMeta
impl UnwindSafe for RouteMeta
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