pub struct MatchedRoute(pub String);Expand description
Matched route path template (e.g. /users/:id), set after route match.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for MatchedRoute
impl Clone for MatchedRoute
Source§fn clone(&self) -> MatchedRoute
fn clone(&self) -> MatchedRoute
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MatchedRoute
impl Debug for MatchedRoute
impl Eq for MatchedRoute
Source§impl PartialEq for MatchedRoute
impl PartialEq for MatchedRoute
impl StructuralPartialEq for MatchedRoute
Auto Trait Implementations§
impl Freeze for MatchedRoute
impl RefUnwindSafe for MatchedRoute
impl Send for MatchedRoute
impl Sync for MatchedRoute
impl Unpin for MatchedRoute
impl UnsafeUnpin for MatchedRoute
impl UnwindSafe for MatchedRoute
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.