pub struct Match<V> {
pub value: V,
pub params: Params,
}
Expand description
A successful match consisting of the registered value
and URL parameters, returned by Router::at
.
Fields§
§value: V
The value stored under the matched node.
params: Params
The route parameters. See parameters for more details.
Trait Implementations§
Auto Trait Implementations§
impl<V> Freeze for Match<V>where
V: Freeze,
impl<V> RefUnwindSafe for Match<V>where
V: RefUnwindSafe,
impl<V> Send for Match<V>where
V: Send,
impl<V> Sync for Match<V>where
V: Sync,
impl<V> Unpin for Match<V>where
V: Unpin,
impl<V> UnwindSafe for Match<V>where
V: 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