pub struct URL {
pub search_params: URLSearchParams,
/* private fields */
}Fields§
§search_params: URLSearchParamsImplementations§
Source§impl URL
impl URL
pub fn get_protocol(&self) -> String
pub fn set_protocol(&mut self, protocol: &str)
pub fn get_username(&self) -> String
pub fn set_username(&mut self, username: &str)
pub fn get_password(&self) -> String
pub fn set_password(&mut self, password: &str)
pub fn get_hostname(&self) -> String
pub fn set_hostname(&mut self, hostname: &str)
pub fn get_port(&self) -> String
pub fn set_port(&mut self, port: &str)
pub fn get_pathname(&self) -> String
pub fn set_pathname(&mut self, pathname: &str)
pub fn get_hash(&self) -> String
pub fn set_hash(&mut self, hash: &str)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for URL
impl RefUnwindSafe for URL
impl Send for URL
impl Sync for URL
impl Unpin for URL
impl UnwindSafe for URL
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more