Struct url_build_parse::UrlComponents
source · pub struct UrlComponents {
pub scheme: String,
pub authority: Option<UrlAuthority>,
pub path: String,
pub query: Option<HashMap<String, String>>,
pub fragment: Option<String>,
}
Fields§
§scheme: String
§path: String
§query: Option<HashMap<String, String>>
§fragment: Option<String>
Implementations§
source§impl UrlComponents
impl UrlComponents
pub fn new() -> UrlComponents
Trait Implementations§
source§impl Clone for UrlComponents
impl Clone for UrlComponents
source§fn clone(&self) -> UrlComponents
fn clone(&self) -> UrlComponents
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UrlComponents
impl Debug for UrlComponents
source§impl PartialEq<UrlComponents> for UrlComponents
impl PartialEq<UrlComponents> for UrlComponents
source§fn eq(&self, other: &UrlComponents) -> bool
fn eq(&self, other: &UrlComponents) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UrlComponents
impl StructuralEq for UrlComponents
impl StructuralPartialEq for UrlComponents
Auto Trait Implementations§
impl RefUnwindSafe for UrlComponents
impl Send for UrlComponents
impl Sync for UrlComponents
impl Unpin for UrlComponents
impl UnwindSafe for UrlComponents
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