Skip to main content

Module extractor

Module extractor 

Source

Re-exports§

pub use crate::request_id::RequestId;
pub use crate::validate::FormReq;
pub use crate::validate::JsonReq;
pub use service::Service;

Modules§

service

Structs§

PathReq
Path parameter extractor — use in handler signatures as PathReq<(String,)>. Extractor that will get captures from the URL and parse them using serde.
QueryReq
Query string extractor — use in handler signatures as QueryReq<MyParams>. Extractor that deserializes query strings into some type.