fn new(route_name: String, route_keys: &Mapping) -> Route {
        Route {
            name: route_name,
            path: Route::parse_path(route_keys),
            path_split: Route::get_path_split(route_keys),
            methods: Route::parse_methods(route_keys),
            controller: Route::parse_controller(route_keys),
            middleware: Route::parse_middleware(route_keys),
            parameters: HashMap::new(),
            language: Route::parse_language(route_keys),
        }
    }
/// Creates and returns the `Route` instance given the route parameters.
Creates and returns the `Route` instance given the route parameters.
Creates and returns the ` Route ` instance given the route parameters .
fn new(route_name: String, route_keys: &Mapping) -> Route {
        Route {
            name: route_name,
            path: Route::parse_path(route_keys),
            path_split: Route::get_path_split(route_keys),
            methods: Route::parse_methods(route_keys),
            controller: Route::parse_controller(route_keys),
            middleware: Route::parse_middleware(route_keys),
            parameters: HashMap::new(),
            language: Route::parse_language(route_keys),
        }
    }
fn new ( route_name : String , route_keys : & Mapping ) -> Route { Route { name : route_name , path : Route :: parse_path ( route_keys ) , path_split : Route :: get_path_split ( route_keys ) , methods : Route :: parse_methods ( route_keys ) , controller : Route :: parse_controller ( route_keys ) , middleware : Route :: parse_middleware ( route_keys ) , parameters : HashMap :: new ( ) , language : Route :: parse_language ( route_keys ) , } }
Creates and returns the `Route` instance given the route parameters.
Creates and returns the ` Route ` instance given the route parameters .
route_name
String
route_keys
&Mapping
route_name
String
route_keys
&Mapping