Skip to main contentCrate rust_webx_macros
Source - authorize
- Declares authorization requirements on a route.
- claims
- Marks a request struct as carrying authentication claims.
- delete
- Shortcut: registers an IRequest impl at DELETE /path.
- endpoint
- Full form: marks an IRequest impl with HTTP method and route path.
- get
- Shortcut: registers an IRequest impl at GET /path.
- handler
- Auto-registers an IRequestHandler implementation at compile time via inventory.
- post
- Shortcut: registers an IRequest impl at POST /path.
- put
- Shortcut: registers an IRequest impl at PUT /path.
- WebxRequestMeta
- Registers OpenAPI parameter metadata from
#[from_query] / #[from_route] / #[from_body] fields.