Expand description
axum extract
Modules§
- connect_
info - Extractor for getting connection information from a client.
- path
- Extractor that will get captures from the URL and parse them using
serde
. - rejection
- Rejection response types.
Structs§
- Component
- Extract the components registered by the plugin from AppState
- Config
- Connect
Info - Extractor for getting connection information produced by a
Connected
. - Default
Body Limit - Layer for configuring the default request body limit.
- Extension
- Extractor and response for extensions.
- Form
- URL encoded extractor and response.
- Json
- JSON Extractor / Response.
- Matched
Path - Access the path in the router that matches the request.
- Nested
Path - Access the path the matched the route is nested at.
- Original
Uri - Extractor that gets the original request URI regardless of nesting.
- Path
- Extractor that will get captures from the URL and parse them using
serde
. - Query
- Extractor that deserializes query strings into some type.
- RawForm
- Extractor that extracts raw form requests.
- RawPath
Params - Extractor that will get captures from the URL without deserializing them.
- RawQuery
- Extractor that extracts the raw query string, without parsing it.
- State
- Extractor for state.
Traits§
- FromRef
- Used to do reference-to-value conversions thus not consuming the input value.
- From
Request - Types that can be created from requests.
- From
Request Parts - Types that can be created from request parts.
- Optional
From Request - Customize the behavior of
Option<Self>
as aFromRequest
extractor. - Optional
From Request Parts - Customize the behavior of
Option<Self>
as aFromRequestParts
extractor. - Request
Parts Ext - Extending the functionality of RequestParts
Type Aliases§
- Request
- Type alias for
http::Request
whose body type defaults toBody
, the most common body type used with axum.