Available on crate feature
server only.Expand description
Traits and types for extracting data from ServerContext and Request
See FromContext and FromRequest for more details.
Structs§
- Form
form - Extract a type from a urlencoded body.
- FullUri
- Full uri including scheme, host, path and query.
- Json
json - A wrapper that can extract a type from a json body or convert a type to json response.
- Maybe
Invalid - Extract a
StringorFastStrwithout checking. - Query
query - Extract a type from query in uri.
Traits§
- From
Context - Extract a type from context (
ServerContextandParts) - From
Request - Extract a type from
Requestwith itsServerContext