pub enum DnsRecord {
A(Ipv4Addr),
AAAA(Ipv6Addr),
CNAME(String),
NS(String),
MX(MXRecord),
TXT(String),
SRV(SRVRecord),
TLSA(TLSARecord),
CAA(CAARecord),
}Expand description
A DNS record type with a value.
Variants§
A(Ipv4Addr)
AAAA(Ipv6Addr)
CNAME(String)
NS(String)
MX(MXRecord)
TXT(String)
SRV(SRVRecord)
TLSA(TLSARecord)
CAA(CAARecord)
Implementations§
Trait Implementations§
Source§impl From<&DnsRecord> for BunnyDnsRecordType
impl From<&DnsRecord> for BunnyDnsRecordType
Source§impl From<&DnsRecord> for OvhRecordFormat
impl From<&DnsRecord> for OvhRecordFormat
Source§impl From<DnsRecord> for DesecDnsRecordRepresentation
Converts a DNS record into a representation that can be sent to the desec API.
impl From<DnsRecord> for DesecDnsRecordRepresentation
Converts a DNS record into a representation that can be sent to the desec API.
Source§impl From<DnsRecord> for DnsContent
impl From<DnsRecord> for DnsContent
Source§impl From<DnsRecord> for RecordData
impl From<DnsRecord> for RecordData
Source§impl TryFrom<DnsRecord> for RecordData
impl TryFrom<DnsRecord> for RecordData
impl Eq for DnsRecord
impl StructuralPartialEq for DnsRecord
Auto Trait Implementations§
impl Freeze for DnsRecord
impl RefUnwindSafe for DnsRecord
impl Send for DnsRecord
impl Sync for DnsRecord
impl Unpin for DnsRecord
impl UnsafeUnpin for DnsRecord
impl UnwindSafe for DnsRecord
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§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.