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: Stringpath: Stringquery: Option<HashMap<String, String>>fragment: Option<String>Implementations
sourceimpl UrlComponents
impl UrlComponents
pub fn new() -> UrlComponents
Trait Implementations
sourceimpl Clone for UrlComponents
impl Clone for UrlComponents
sourcefn clone(&self) -> UrlComponents
fn clone(&self) -> UrlComponents
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for UrlComponents
impl Debug for UrlComponents
sourceimpl PartialEq<UrlComponents> for UrlComponents
impl PartialEq<UrlComponents> for UrlComponents
sourcefn eq(&self, other: &UrlComponents) -> bool
fn eq(&self, other: &UrlComponents) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more