Enum mhost::resources::record_type::RecordType
source · pub enum RecordType {
Show 26 variants
A,
AAAA,
ANAME,
ANY,
AXFR,
CAA,
CNAME,
HINFO,
HTTPS,
IXFR,
MX,
NAPTR,
NS,
NULL,
OPENPGPKEY,
OPT,
PTR,
SOA,
SRV,
SSHFP,
SVCB,
TLSA,
TXT,
DNSSEC,
Unknown(u16),
ZERO,
}
Variants§
A
AAAA
ANAME
ANY
AXFR
CAA
CNAME
HINFO
HTTPS
IXFR
MX
NAPTR
NS
NULL
OPENPGPKEY
OPT
PTR
SOA
SRV
SSHFP
SVCB
TLSA
TXT
DNSSEC
Unknown(u16)
ZERO
Implementations§
Trait Implementations§
source§impl Clone for RecordType
impl Clone for RecordType
source§fn clone(&self) -> RecordType
fn clone(&self) -> RecordType
Returns a copy 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 RecordType
impl Debug for RecordType
source§impl Display for RecordType
impl Display for RecordType
source§impl From<RecordType> for &'static str
impl From<RecordType> for &'static str
source§fn from(rt: RecordType) -> &'static str
fn from(rt: RecordType) -> &'static str
Converts to this type from the input type.
source§impl FromStr for RecordType
impl FromStr for RecordType
source§impl Hash for RecordType
impl Hash for RecordType
source§impl Ord for RecordType
impl Ord for RecordType
source§fn cmp(&self, other: &RecordType) -> Ordering
fn cmp(&self, other: &RecordType) -> 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 PartialEq for RecordType
impl PartialEq for RecordType
source§fn eq(&self, other: &RecordType) -> bool
fn eq(&self, other: &RecordType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RecordType
impl PartialOrd for RecordType
source§fn partial_cmp(&self, other: &RecordType) -> Option<Ordering>
fn partial_cmp(&self, other: &RecordType) -> 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 moresource§impl Serialize for RecordType
impl Serialize for RecordType
impl Copy for RecordType
impl Eq for RecordType
impl StructuralPartialEq for RecordType
Auto Trait Implementations§
impl RefUnwindSafe for RecordType
impl Send for RecordType
impl Sync for RecordType
impl Unpin for RecordType
impl UnwindSafe for RecordType
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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.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.