gotham/extractor/
mod.rs

1//! Extracts request data into type-safe structs using Serde.
2//!
3//! Extractors are added to route definitions when defining a `Router`. The `PathExtractor` and
4//! `QueryStringExtractor` traits provide usage examples.
5//!
6//! The request data is extracted by the `Route` implementation when dispatching the request. The
7//! application-provided data structure which implements the extractor trait is used to deserialize
8//! the data and store it within the request `State` before the request is dispatched to the
9//! `Handler`.
10
11pub(crate) mod internal;
12mod path;
13mod query_string;
14
15pub use self::path::*;
16pub use self::query_string::*;