pub struct UrlParams(pub Vec<(String, String)>);Expand description
Path parameters extracted by the router from a parameterized route.
Each entry is a (name, value) pair corresponding to a named segment
in the route pattern (e.g. :id → ("id", "42")).
This type is not intended for direct use by application code — use
the Path extractor instead.
Tuple Fields§
§0: Vec<(String, String)>Trait Implementations§
Auto Trait Implementations§
impl Freeze for UrlParams
impl RefUnwindSafe for UrlParams
impl Send for UrlParams
impl Sync for UrlParams
impl Unpin for UrlParams
impl UnsafeUnpin for UrlParams
impl UnwindSafe for UrlParams
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