pub struct RouteMatch {
pub pattern: String,
pub params: HashMap<String, String>,
}Expand description
Route matching result.
Fields§
§pattern: StringThe matched route pattern.
params: HashMap<String, String>Extracted path parameters.
Implementations§
Trait Implementations§
Source§impl Clone for RouteMatch
impl Clone for RouteMatch
Source§impl Debug for RouteMatch
impl Debug for RouteMatch
impl Eq for RouteMatch
Source§impl PartialEq for RouteMatch
impl PartialEq for RouteMatch
impl StructuralPartialEq for RouteMatch
Auto Trait Implementations§
impl Forget for RouteMatch
impl Freeze for RouteMatch
impl Move for RouteMatch
impl RefUnwindSafe for RouteMatch
impl Send for RouteMatch
impl Sync for RouteMatch
impl Unpin for RouteMatch
impl UnsafeUnpin for RouteMatch
impl UnwindSafe for RouteMatch
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