Function url::quirks::set_hostname [] [src]

pub fn set_hostname(url: &mut Url, new_hostname: &str) -> Result<()()>

Setter for https://url.spec.whatwg.org/#dom-url-hostname