pub struct RouterRoute {
pub method: String,
pub path: String,
}Expand description
One .route("path", verb(handler)) registration.
Fields§
§method: StringUpper-case HTTP verb, or ANY when the registration names none.
path: StringThe path literal as written, relative to any .nest prefix.
Trait Implementations§
Source§impl Clone for RouterRoute
impl Clone for RouterRoute
Source§impl Debug for RouterRoute
impl Debug for RouterRoute
impl Eq for RouterRoute
Source§impl PartialEq for RouterRoute
impl PartialEq for RouterRoute
impl StructuralPartialEq for RouterRoute
Auto Trait Implementations§
impl Forget for RouterRoute
impl Freeze for RouterRoute
impl Move for RouterRoute
impl RefUnwindSafe for RouterRoute
impl Send for RouterRoutewhere
RawVecInner: Send,
impl Sync for RouterRoutewhere
RawVecInner: Sync,
impl Unpin for RouterRoute
impl UnsafeUnpin for RouterRoute
impl UnwindSafe for RouterRoutewhere
RawVecInner: UnwindSafe,
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