pub struct UpstreamAddr {
pub host: String,
pub port: u16,
}Fields§
§host: String§port: u16Implementations§
Trait Implementations§
Source§impl Clone for UpstreamAddr
impl Clone for UpstreamAddr
Source§fn clone(&self) -> UpstreamAddr
fn clone(&self) -> UpstreamAddr
Returns a duplicate 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 UpstreamAddr
impl Debug for UpstreamAddr
Source§impl Display for UpstreamAddr
impl Display for UpstreamAddr
Source§impl FromStr for UpstreamAddr
impl FromStr for UpstreamAddr
Source§impl PartialEq for UpstreamAddr
impl PartialEq for UpstreamAddr
impl Eq for UpstreamAddr
impl StructuralPartialEq for UpstreamAddr
Auto Trait Implementations§
impl Freeze for UpstreamAddr
impl RefUnwindSafe for UpstreamAddr
impl Send for UpstreamAddr
impl Sync for UpstreamAddr
impl Unpin for UpstreamAddr
impl UnwindSafe for UpstreamAddr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.