Module extract
Expand description
Extract utilities to develop endpoint services efortless.
Modules§
- authority
- Module in function of the
Authorityextractor. - body
- module in function of extractors for
Requestbodies - datastar
- 🚀 Datastar support extractor for rama.
- host
- Module in function of the
Hostextractor. - path
- Module in function of the
Pathextractor. - query
- Module in function of the
Queryextractor. - 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
Responses, as well as to extract Csv from HttpRequestbodies. - Form
- Wrapper used to create Form Http
Responses, as well as to extract Form from HttpRequestbodies. - Host
- Extractor that resolves the hostname of the request.
- Json
- Wrapper used to create Json Http
Responses, as well as to extract Json from HttpRequestbodies. - Path
- Extractor to get path parameters from the context in deserialized form.
- Query
- Extractor that deserializes query strings into some type.
- State
- Extractor for static State provided by the caller of
IntoEndpointServiceWithState - 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 aFromRequestextractor. - Optional
From Request Context RefPair - Customize the behavior of
Option<Self>as aFromRequestContextRefPairextractor.