Skip to main content

function_name

Function function_name 

Source
pub fn function_name(method: &str, path: &str) -> String
Expand 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).