Struct iref::uri::AuthorityParts
source · pub struct AuthorityParts<'a> {
pub user_info: Option<&'a UserInfo>,
pub host: &'a Host,
pub port: Option<&'a Port>,
}
Fields§
§user_info: Option<&'a UserInfo>
§host: &'a Host
§port: Option<&'a Port>
Trait Implementations§
source§impl<'a> Debug for AuthorityParts<'a>
impl<'a> Debug for AuthorityParts<'a>
source§impl<'a> Hash for AuthorityParts<'a>
impl<'a> Hash for AuthorityParts<'a>
source§impl<'a> Ord for AuthorityParts<'a>
impl<'a> Ord for AuthorityParts<'a>
source§fn cmp(&self, other: &AuthorityParts<'a>) -> Ordering
fn cmp(&self, other: &AuthorityParts<'a>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'a> PartialEq for AuthorityParts<'a>
impl<'a> PartialEq for AuthorityParts<'a>
source§fn eq(&self, other: &AuthorityParts<'a>) -> bool
fn eq(&self, other: &AuthorityParts<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> PartialOrd for AuthorityParts<'a>
impl<'a> PartialOrd for AuthorityParts<'a>
source§fn partial_cmp(&self, other: &AuthorityParts<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &AuthorityParts<'a>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<'a> Eq for AuthorityParts<'a>
impl<'a> StructuralPartialEq for AuthorityParts<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for AuthorityParts<'a>
impl<'a> Send for AuthorityParts<'a>
impl<'a> Sync for AuthorityParts<'a>
impl<'a> Unpin for AuthorityParts<'a>
impl<'a> UnwindSafe for AuthorityParts<'a>
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