pub struct NetworkHost(pub String);Expand description
An exact network host. It is never interpreted as a pattern.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for NetworkHost
impl Clone for NetworkHost
Source§fn clone(&self) -> NetworkHost
fn clone(&self) -> NetworkHost
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NetworkHost
impl Debug for NetworkHost
Source§impl<'de> Deserialize<'de> for NetworkHost
impl<'de> Deserialize<'de> for NetworkHost
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NetworkHost
Source§impl Hash for NetworkHost
impl Hash for NetworkHost
Source§impl Ord for NetworkHost
impl Ord for NetworkHost
Source§fn cmp(&self, other: &NetworkHost) -> Ordering
fn cmp(&self, other: &NetworkHost) -> Ordering
1.21.0 (const: unstable) · 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 PartialEq for NetworkHost
impl PartialEq for NetworkHost
Source§impl PartialOrd for NetworkHost
impl PartialOrd for NetworkHost
Source§impl Serialize for NetworkHost
impl Serialize for NetworkHost
impl StructuralPartialEq for NetworkHost
Auto Trait Implementations§
impl Freeze for NetworkHost
impl RefUnwindSafe for NetworkHost
impl Send for NetworkHost
impl Sync for NetworkHost
impl Unpin for NetworkHost
impl UnsafeUnpin for NetworkHost
impl UnwindSafe for NetworkHost
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