Struct url_build_parse::UrlAuthority
source · pub struct UrlAuthority {
pub user_info: Option<UrlUserInfo>,
pub host: String,
pub port: Option<usize>,
}Fields§
§user_info: Option<UrlUserInfo>§host: String§port: Option<usize>Trait Implementations§
source§impl Clone for UrlAuthority
impl Clone for UrlAuthority
source§fn clone(&self) -> UrlAuthority
fn clone(&self) -> UrlAuthority
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 UrlAuthority
impl Debug for UrlAuthority
source§impl PartialEq<UrlAuthority> for UrlAuthority
impl PartialEq<UrlAuthority> for UrlAuthority
source§fn eq(&self, other: &UrlAuthority) -> bool
fn eq(&self, other: &UrlAuthority) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for UrlAuthority
impl StructuralEq for UrlAuthority
impl StructuralPartialEq for UrlAuthority
Auto Trait Implementations§
impl RefUnwindSafe for UrlAuthority
impl Send for UrlAuthority
impl Sync for UrlAuthority
impl Unpin for UrlAuthority
impl UnwindSafe for UrlAuthority
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