Module extract

Source
Expand description

Additional extractors.

Re-exports§

pub use self::cookie::CookieJar;cookie
pub use self::cookie::PrivateCookieJar;cookie-private
pub use self::cookie::SignedCookieJar;cookie-signed
pub use self::multipart::Multipart;multipart
pub use self::scheme::Scheme;scheme
pub use self::scheme::SchemeMissing;scheme
pub use crate::json_lines::JsonLines;json-lines
pub use crate::typed_header::TypedHeader;typed-header

Modules§

cookiecookie
Cookie parsing and cookie jar management.
multipartmultipart
Extractor that parses multipart/form-data requests commonly used with file uploads.
rejection
Rejection response types.

Structs§

Cached
Cache results of other extractors.
Formform
Extractor that deserializes application/x-www-form-urlencoded requests into some type.
Host
Extractor that resolves the host of the request.
JsonDataErrorjson-deserializer
Rejection type for JsonDeserializer.
JsonDeserializerjson-deserializer
JSON Extractor for zero-copy deserialization.
JsonSyntaxErrorjson-deserializer
Rejection type for JsonDeserializer.
MissingJsonContentTypejson-deserializer
Rejection type for JsonDeserializer used if the Content-Type header is missing.
OptionalPathDeprecated
Extractor that extracts path arguments the same way as Path, except if there aren’t any.
OptionalQueryquery
Extractor that deserializes query strings into None if no query parameters are present.
Queryquery
Extractor that deserializes query strings into some type.
WithRejection
Extractor for customizing extractor rejections

Enums§

FormRejectionform
Rejection used for Form.
JsonDeserializerRejectionjson-deserializer
Rejection used for JsonDeserializer.
OptionalQueryRejectionquery
Rejection used for OptionalQuery.
QueryRejectionquery
Rejection used for Query.