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§
- AppRef
- Extract Arc
- Component
- Extract the components registered by the plugin from AppState
- Config
- ConnectInfo 
- Extractor for getting connection information produced by a Connected.
- DefaultBody 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.
- MatchedPath 
- Access the path in the router that matches the request.
- NestedPath 
- Access the path the matched the route is nested at.
- OriginalUri 
- 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.
- RawPathParams 
- 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.
- FromRequest 
- Types that can be created from requests.
- FromRequest Parts 
- Types that can be created from request parts.
- OptionalFrom Request 
- Customize the behavior of Option<Self>as aFromRequestextractor.
- OptionalFrom Request Parts 
- Customize the behavior of Option<Self>as aFromRequestPartsextractor.
- RequestParts Ext 
- Extending the functionality of RequestParts
Type Aliases§
- Request
- Type alias for http::Requestwhose body type defaults toBody, the most common body type used with axum.
Derive Macros§
- FromRef
- Derive an implementation of FromReffor each field in a struct.
- FromRequest 
- Derive an implementation of FromRequest.
- FromRequest Parts 
- Derive an implementation of FromRequestParts.