#[patch]
Registers a PATCH route handler.
#[patch("/users/:id")] async fn update_user(Path(id): Path<u64>) -> Json<User> { /* ... */ }
See get for syntax details including the optional group parameter.
get
group