pub enum DnsRecord {
A {
content: Ipv4Addr,
},
AAAA {
content: Ipv6Addr,
},
CNAME {
content: String,
},
NS {
content: String,
},
MX {
content: String,
priority: u16,
},
TXT {
content: String,
},
SRV {
content: String,
priority: u16,
weight: u16,
port: u16,
},
}Expand description
A DNS record type with a value.
Variants§
Implementations§
Trait Implementations§
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
Auto Trait Implementations§
impl Freeze for DnsRecord
impl RefUnwindSafe for DnsRecord
impl Send for DnsRecord
impl Sync for DnsRecord
impl Unpin 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