pub struct Authority {
pub host: Host,
pub port: u16,
}Expand description
Represents a parsed authority.
Fields§
§host: Host§port: u16Implementations§
Trait Implementations§
source§impl Ord for Authority
impl Ord for Authority
source§impl PartialEq<Authority> for Authority
impl PartialEq<Authority> for Authority
source§impl PartialOrd<Authority> for Authority
impl PartialOrd<Authority> for Authority
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 Eq for Authority
impl StructuralEq for Authority
impl StructuralPartialEq for Authority
Auto Trait Implementations§
impl RefUnwindSafe for Authority
impl Send for Authority
impl Sync for Authority
impl Unpin for Authority
impl UnwindSafe for Authority
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