Enum deno_net::ops::DnsReturnRecord
source · [−]pub enum DnsReturnRecord {
A(String),
Aaaa(String),
Aname(String),
Caa {
critical: bool,
tag: String,
value: String,
},
Cname(String),
Mx {
preference: u16,
exchange: String,
},
Naptr {
order: u16,
preference: u16,
flags: String,
services: String,
regexp: String,
replacement: String,
},
Ns(String),
Ptr(String),
Soa {
mname: String,
rname: String,
serial: u32,
refresh: i32,
retry: i32,
expire: i32,
minimum: u32,
},
Srv {
priority: u16,
weight: u16,
port: u16,
target: String,
},
Txt(Vec<String>),
}
Variants
A(String)
Aaaa(String)
Aname(String)
Caa
Cname(String)
Mx
Naptr
Ns(String)
Ptr(String)
Soa
Srv
Txt(Vec<String>)
Trait Implementations
sourceimpl Debug for DnsReturnRecord
impl Debug for DnsReturnRecord
sourceimpl PartialEq<DnsReturnRecord> for DnsReturnRecord
impl PartialEq<DnsReturnRecord> for DnsReturnRecord
sourcefn eq(&self, other: &DnsReturnRecord) -> bool
fn eq(&self, other: &DnsReturnRecord) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DnsReturnRecord) -> bool
fn ne(&self, other: &DnsReturnRecord) -> bool
This method tests for !=
.
sourceimpl Serialize for DnsReturnRecord
impl Serialize for DnsReturnRecord
impl StructuralPartialEq for DnsReturnRecord
Auto Trait Implementations
impl RefUnwindSafe for DnsReturnRecord
impl Send for DnsReturnRecord
impl Sync for DnsReturnRecord
impl Unpin for DnsReturnRecord
impl UnwindSafe for DnsReturnRecord
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more