「RST」が「リモートスイッチング端子」でも「性的緊張を解決する」こともないと仮定します。したがって、Rustでは、URLは標準文字列であり、「URL」作成を介して次のコンポーネントに解析できます。

url :: {url、host、position}を使用してください。
let resh_list_url = url :: parse（
    "https://github.com/rust-lang/rust/issues?labels=e- easy&state=open"
）??;

assert！（sushe_list_url.scheme（）== "https"）;
assert！（fuse_list_url.username（）== ""）;
assert！（resud_list_url.password（）== none）;
assert！（resud_list_url.host_str（）== some（ "github.com"））;
assert！（resud_list_url.host（）== some（host :: domain（ "github.com"）））;
assert！（resugle_list_url.port（）== none）;
assert！（resugle_list_url.path（）== "/rust-lang/rust/issues"）;
assert！（resugle_list_url.path_segments（）。マップ（| c | c.collect :: <vec <_ >>（））==
        一部（vec！["rust-lang"、 "rust"、 "resush"]））;
assert！（resud_list_url.query（）== some（ "labels = e-easy＆state = open"））;
assert！（＆secust_list_url [position :: beforepath ..] == "/rust-lang/rust/issues？labels = e-easy＆state = open"）;
assert！（resugle_list_url.fragment（）== none）;
assert！（！sushe_list_url.cannot_be_a_base（））;
I would assume "rst" being neither "Remote Switching Terminal", nor "Resolved Sexual Tension". Therefore, in Rust, a URL is a standard string, which can be parsed to the following components via the "url" create:

use url::{Url, Host, Position};
let issue_list_url = Url::parse(
    "https://github.com/rust-lang/rust/issues?labels=E-easy&state=open"
)?;

assert!(issue_list_url.scheme() == "https");
assert!(issue_list_url.username() == "");
assert!(issue_list_url.password() == None);
assert!(issue_list_url.host_str() == Some("github.com"));
assert!(issue_list_url.host() == Some(Host::Domain("github.com")));
assert!(issue_list_url.port() == None);
assert!(issue_list_url.path() == "/rust-lang/rust/issues");
assert!(issue_list_url.path_segments().map(|c| c.collect::<Vec<_>>()) ==
        Some(vec!["rust-lang", "rust", "issues"]));
assert!(issue_list_url.query() == Some("labels=E-easy&state=open"));
assert!(&issue_list_url[Position::BeforePath..] == "/rust-lang/rust/issues?labels=E-easy&state=open");
assert!(issue_list_url.fragment() == None);
assert!(!issue_list_url.cannot_be_a_base());