pub enum HostNameType {
User,
PTR,
}Expand description
Type of host name
Variants§
Trait Implementations§
Source§impl Debug for HostNameType
impl Debug for HostNameType
Source§impl<'de> Deserialize<'de> for HostNameType
impl<'de> Deserialize<'de> for HostNameType
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
Source§impl PartialEq for HostNameType
impl PartialEq for HostNameType
Source§fn eq(&self, other: &HostNameType) -> bool
fn eq(&self, other: &HostNameType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HostNameType
impl Serialize for HostNameType
impl StructuralPartialEq for HostNameType
Auto Trait Implementations§
impl Freeze for HostNameType
impl RefUnwindSafe for HostNameType
impl Send for HostNameType
impl Sync for HostNameType
impl Unpin for HostNameType
impl UnsafeUnpin for HostNameType
impl UnwindSafe for HostNameType
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