use StatusCode;use crateRedirects;/// It returns a redirect's destination path and status code if the current request uri/// matches against the provided redirect's array.uri_path: &'a str,redirects_opts_vec: &'a ,if let Some = redirects_opts_vecfor redirect_entry in redirects_vec.iter// Match source glob pattern against the request uri pathif redirect_entry.source.is_matchreturn Some;None