Module extract
Expand description
Extract utilities to develop endpoint services efortless.
Modules§
- authority
- Module in function of the
Authority
extractor. - body
- module in function of extractors for
Request
bodies - host
- Module in function of the
Host
extractor. - path
- Module in function of the
Path
extractor. - query
- Module in function of the
Query
extractor. - typed_
header - module in function of
TypedHeader
Structs§
- Authority
- Extractor that resolves the authority of the request.
- Body
- Extractor to get the response body.
- Bytes
- Extractor to get the response body, collected as
Bytes
. - Csv
- Wrapper used to create Csv Http
Response
s, as well as to extract Csv from HttpRequest
bodies. - Form
- Wrapper used to create Form Http
Response
s, as well as to extract Form from HttpRequest
bodies. - Host
- Extractor that resolves the hostname of the request.
- Json
- Wrapper used to create Json Http
Response
s, as well as to extract Json from HttpRequest
bodies. - Path
- Extractor to get path parameters from the context in deserialized form.
- Query
- Extractor that deserializes query strings into some type.
- Text
- Extractor to get the response body, collected as
String
. - Typed
Header - Extractor to get a TypedHeader from the request.
Traits§
- From
Request - Types that can be created from requests.
- From
Request Context RefPair - Types that can be created from request parts.
- Optional
From Request - Customize the behavior of
Option<Self>
as aFromRequest
extractor. - Optional
From Request Context RefPair - Customize the behavior of
Option<Self>
as aFromRequestContextRefPair
extractor.