(name: S)
| 23 | |
| 24 | impl Route { |
| 25 | pub fn new<S: Into<String>>(name: S) -> Self { |
| 26 | Self { |
| 27 | name: name.into(), |
| 28 | route_type: RouteType::Push, |
| 29 | params: HashMap::new(), |
| 30 | } |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | #[derive(Clone, Hash, Eq, PartialEq)] |
nothing calls this directly
no outgoing calls
no test coverage detected