pub fn function_name(method: &str, path: &str) -> StringExpand description
GET /orders/:id is getOrderById; POST /orders is postOrders. A
static segment before a parameter is singular (orders/:id reads “order by
id”). A route has no name of its own to use (#3508 open question 4).