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.
- from_body
- Marks a field or parameter as deserialized from the JSON request body.
- from_query
- Marks a field or parameter as extracted from the query string.
- from_route
- Marks a field or parameter as extracted from the 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.