Attribute Macros§
- api_
route - Creates openapi resource handler.
- api_
routes - Creates openapi resource handler.
- auto_
config - Auto config
- cache
#[cache]
- Transparent Redis-based caching for async functions.- cron
- Syntax
- delete
- Syntax
- delete_
api - Syntax
- fix_
delay - Syntax
- fix_
rate - Syntax
- get
- Syntax
- get_api
- Syntax
- head
- Syntax
- head_
api - Syntax
- middlewares
- Applies middleware layers to all route handlers within a module.
- nest
- Prepends a path prefix to all handlers using routing macros inside the attached module.
- one_
shot - Syntax
- options
- Syntax
- options_
api - Syntax
- patch
- Syntax
- patch_
api - Syntax
- post
- Syntax
- post_
api - Syntax
- put
- Syntax
- put_api
- Syntax
- route
- Creates resource handler.
- routes
- Creates resource handler.
- stream_
listener - stream macro
- trace
- Syntax
- trace_
api - Syntax
Derive Macros§
- Configurable
- Configurable
- Service
- Injectable Servcie