pub struct URL {
pub scheme: String,
pub username: String,
pub password: String,
pub origin: String,
pub host: String,
pub port: String,
pub path: String,
pub query: String,
pub hash: String,
}Expand description
URL class format code: [scheme:]//[user[:password]@]host[:port][/path][?query][#hash]
Fields§
§scheme: String§username: String§password: String§origin: String§host: String§port: String§path: String§query: String§hash: StringImplementations§
Trait Implementations§
impl Eq for URL
impl StructuralPartialEq for URL
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