Skip to main content

Crate ruest_macros

Crate ruest_macros 

Source
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 impl block.
service
Marks a struct as an injectable service.