pub trait URLMethods {
Show 23 methods
// Required methods
fn Href(&self) -> USVString;
fn SetHref(&self, value: USVString) -> Result<(), Error>;
fn Origin(&self) -> USVString;
fn Protocol(&self) -> USVString;
fn SetProtocol(&self, value: USVString);
fn Username(&self) -> USVString;
fn SetUsername(&self, value: USVString);
fn Password(&self) -> USVString;
fn SetPassword(&self, value: USVString);
fn Host(&self) -> USVString;
fn SetHost(&self, value: USVString);
fn Hostname(&self) -> USVString;
fn SetHostname(&self, value: USVString);
fn Port(&self) -> USVString;
fn SetPort(&self, value: USVString);
fn Pathname(&self) -> USVString;
fn SetPathname(&self, value: USVString);
fn Search(&self) -> USVString;
fn SetSearch(&self, value: USVString);
fn SearchParams(&self) -> Root<Dom<URLSearchParams>>;
fn Hash(&self) -> USVString;
fn SetHash(&self, value: USVString);
fn ToJSON(&self) -> USVString;
}