[][src]Struct mailslurp::models::dns_lookup_result::DnsLookupResult

pub struct DnsLookupResult {
    pub data: String,
    pub record_type: RecordType,
    pub ttl: i64,
    pub value: String,
}

DnsLookupResult : DNS lookup result. Includes record type, time to live, raw response, and name value for the name server response.

Fields

data: Stringrecord_type: RecordTypettl: i64value: String

Implementations

impl DnsLookupResult[src]

pub fn new(
    data: String,
    record_type: RecordType,
    ttl: i64,
    value: String
) -> DnsLookupResult
[src]

DNS lookup result. Includes record type, time to live, raw response, and name value for the name server response.

Trait Implementations

impl Clone for DnsLookupResult[src]

impl Debug for DnsLookupResult[src]

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

impl PartialEq<DnsLookupResult> for DnsLookupResult[src]

impl Serialize for DnsLookupResult[src]

impl StructuralPartialEq for DnsLookupResult[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.