pub struct URL;
Implementations§
Source§impl URL
impl URL
pub fn percent_encode(component: &str) -> String
pub fn percent_decode(component: &str) -> String
pub fn build_query(params: HashMap<String, String>) -> String
pub fn parse_query(component: &str) -> HashMap<String, String>
pub fn build(components: UrlComponents) -> Result<String, String>
pub fn parse(url: &str) -> Result<UrlComponents, String>
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