Skip to main content

put

Attribute Macro put 

Source
#[put]
Expand description

Shortcut: registers an IRequest impl at PUT /path.

#[put("/users/{id}")]
impl IRequest<UserModel> for UpdateUserRequest {}