pub struct WithQueryParams<P, T> { /* private fields */ }
Available on crate feature
typed-routing
only.Expand description
A TypedPath
with query params.
See TypedPath::with_query_params
for more details.
Trait Implementations§
Source§impl<P: Clone, T: Clone> Clone for WithQueryParams<P, T>
impl<P: Clone, T: Clone> Clone for WithQueryParams<P, T>
Source§fn clone(&self) -> WithQueryParams<P, T>
fn clone(&self) -> WithQueryParams<P, T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<P, T> Display for WithQueryParams<P, T>
impl<P, T> Display for WithQueryParams<P, T>
Source§impl<P, T> TypedPath for WithQueryParams<P, T>
impl<P, T> TypedPath for WithQueryParams<P, T>
Source§fn with_query_params<T>(self, params: T) -> WithQueryParams<Self, T>
fn with_query_params<T>(self, params: T) -> WithQueryParams<Self, T>
Add query parameters to a path. Read more
impl<P: Copy, T: Copy> Copy for WithQueryParams<P, T>
Auto Trait Implementations§
impl<P, T> Freeze for WithQueryParams<P, T>
impl<P, T> RefUnwindSafe for WithQueryParams<P, T>where
P: RefUnwindSafe,
T: RefUnwindSafe,
impl<P, T> Send for WithQueryParams<P, T>
impl<P, T> Sync for WithQueryParams<P, T>
impl<P, T> Unpin for WithQueryParams<P, T>
impl<P, T> UnwindSafe for WithQueryParams<P, T>where
P: UnwindSafe,
T: 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