Module extract

Module extract 

Source
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§

Formform
Extract a type from a urlencoded body.
FullUri
Full uri including scheme, host, path and query.
Jsonjson
A wrapper that can extract a type from a json body or convert a type to json response.
MaybeInvalid
Extract a String or FastStr without checking.
Queryquery
Extract a type from query in uri.

Traits§

FromContext
Extract a type from context (ServerContext and Parts)
FromRequest
Extract a type from Request with its ServerContext