Trait gotham::router::builder::ReplaceQueryStringExtractor
source · pub trait ReplaceQueryStringExtractor<T>where
T: QueryStringExtractor<Body>,{
type Output: DefineSingleRoute;
}Expand description
Describes the operation of replacing a QueryStringExtractor on a route. This trait exists to
remove type clutter from the documentation of SingleRouteBuilder::with_query_string_extractor.
Required Associated Types§
sourcetype Output: DefineSingleRoute
type Output: DefineSingleRoute
The type returned when replacing the QueryStringExtractor with the target type.