macro_rules! path_fn {
($name:ident, $route:expr $(,)?) => { ... };
($name:ident, $route:expr, $($param:ident),+ $(,)?) => { ... };
}Expand description
Generate a path-builder function from a route constant.
Substitutes each {placeholder} segment with the corresponding argument
(formatted via Display). Used to keep request URLs in sync with the
route definitions registered with the Axum router.