pub struct DnsRecord {
pub record_type: String,
pub value: String,
}Fields§
§record_type: StringRecord type (e.g. “A”, “AAAA”, “MX”). Always upper-case.
value: StringDisplay-normalized value. For textual records we strip surrounding
quotes and the trailing . that the resolver appends to FQDNs.
Trait Implementations§
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