[][src]Struct mailslurp::models::dns_lookup_options::DnsLookupOptions

pub struct DnsLookupOptions {
    pub hostname: Option<String>,
    pub omit_final_dns_dot: Option<bool>,
    pub record_types: Option<RecordTypes>,
}

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<RecordTypes>

List of record types you wish to query such as MX, DNS, TXT, NS, A etc.

Implementations

impl DnsLookupOptions[src]

pub fn new() -> DnsLookupOptions[src]

Options for DNS query.

Trait Implementations

impl Clone for DnsLookupOptions[src]

impl Debug for DnsLookupOptions[src]

impl<'de> Deserialize<'de> for DnsLookupOptions[src]

impl PartialEq<DnsLookupOptions> for DnsLookupOptions[src]

impl Serialize for DnsLookupOptions[src]

impl StructuralPartialEq for DnsLookupOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.