pub struct MatcherPathParam<'any> {
pub name: &'any str,
pub value: &'any str,
}Available on crate feature
http only.Expand description
Route match parameter
Fields§
§name: &'any strIdentifies the parameter and is defined when building the route.
value: &'any strDynamic value associated with the name.
Implementations§
Trait Implementations§
Source§impl<'any> Clone for MatcherPathParam<'any>
impl<'any> Clone for MatcherPathParam<'any>
Source§fn clone(&self) -> MatcherPathParam<'any>
fn clone(&self) -> MatcherPathParam<'any>
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 moreimpl<'any> Copy for MatcherPathParam<'any>
Source§impl<'any> Debug for MatcherPathParam<'any>
impl<'any> Debug for MatcherPathParam<'any>
Source§impl<'any> PartialEq for MatcherPathParam<'any>
impl<'any> PartialEq for MatcherPathParam<'any>
Source§fn eq(&self, other: &MatcherPathParam<'any>) -> bool
fn eq(&self, other: &MatcherPathParam<'any>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'any> StructuralPartialEq for MatcherPathParam<'any>
Auto Trait Implementations§
impl<'any> Freeze for MatcherPathParam<'any>
impl<'any> RefUnwindSafe for MatcherPathParam<'any>
impl<'any> Send for MatcherPathParam<'any>
impl<'any> Sync for MatcherPathParam<'any>
impl<'any> Unpin for MatcherPathParam<'any>
impl<'any> UnsafeUnpin for MatcherPathParam<'any>
impl<'any> UnwindSafe for MatcherPathParam<'any>
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