[][src]Struct dns_message_parser::rr::NS

pub struct NS {
    pub domain_name: DomainName,
    pub ttl: u32,
    pub class: Class,
    pub ns_d_name: DomainName,
}

The authoritative name server resource record type.

Fields

domain_name: DomainNamettl: u32class: Classns_d_name: DomainName

Implementations

impl NS[src]

Trait Implementations

impl Clone for NS[src]

impl Debug for NS[src]

impl Display for NS[src]

impl Eq for NS[src]

impl Hash for NS[src]

impl PartialEq<NS> for NS[src]

impl StructuralEq for NS[src]

impl StructuralPartialEq for NS[src]

impl ToType for NS[src]

Auto Trait Implementations

impl RefUnwindSafe for NS[src]

impl Send for NS[src]

impl Sync for NS[src]

impl Unpin for NS[src]

impl UnwindSafe for NS[src]

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> 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> ToString for T where
    T: Display + ?Sized
[src]

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.