Struct mailslurp::models::dns_lookup_options::DnsLookupOptions [−][src]
pub struct DnsLookupOptions { pub hostname: Option<String>, pub omit_final_dns_dot: Option<bool>, pub record_types: Option<Vec<RecordTypes>>, }
Expand description
DnsLookupOptions : Options for DNS query.
Fields
hostname: Option<String>
List of record types you wish to query such as MX, DNS, TXT, NS, A etc.
omit_final_dns_dot: Option<bool>
Optionally control whether to omit the final dot in full DNS name values.
record_types: Option<Vec<RecordTypes>>
List of record types you wish to query such as MX, DNS, TXT, NS, A etc.
Implementations
Options for DNS query.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DnsLookupOptions
impl Send for DnsLookupOptions
impl Sync for DnsLookupOptions
impl Unpin for DnsLookupOptions
impl UnwindSafe for DnsLookupOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more