Expand description
Procedural macros for RUEST.
Attribute Macros§
- controller
- Marks a struct as an HTTP controller with a path prefix.
- delete
- dto
- Marks a struct as a DTO (MVP: passthrough).
- get
- guard
- Déclare une garde d’autorisation (
impl Guard). - middleware
- Marks an async function as middleware (MVP: passthrough).
- module
- Declares a NestJS-style module.
- patch
- post
- put
- routes
- Registers route handlers on a controller
implblock. - service
- Marks a struct as an injectable service.