Struct axum_extra::routing::WithQueryParams
source · 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> TypedPath for WithQueryParams<P, T>where
P: TypedPath,
T: Serialize,
impl<P, T> TypedPath for WithQueryParams<P, T>where P: TypedPath, T: Serialize,
source§fn with_query_params<T>(self, params: T) -> WithQueryParams<Self, T>where
T: Serialize,
Self: Sized,
fn with_query_params<T>(self, params: T) -> WithQueryParams<Self, T>where T: Serialize, Self: Sized,
Add query parameters to a path. Read more