Struct gnunet_sys::GNUNET_DNSPARSER_SoaRecord[][src]

#[repr(C)]pub struct GNUNET_DNSPARSER_SoaRecord {
    pub mname: *mut c_char,
    pub rname: *mut c_char,
    pub serial: u32,
    pub refresh: u32,
    pub retry: u32,
    pub expire: u32,
    pub minimum_ttl: u32,
}

Information from SOA records (RFC 1035).

Fields

mname: *mut c_char

The domainname of the name server that was the original or primary source of data for this zone. In UTF-8 format. The library will convert from and to DNS-IDNA as necessary. Use #GNUNET_DNSPARSER_check_label() to test if an individual label is well-formed. If a given name is not well-formed, creating the DNS packet will fail.

rname: *mut c_char

A domainname which specifies the mailbox of the person responsible for this zone. In UTF-8 format. The library will convert from and to DNS-IDNA as necessary. Use #GNUNET_DNSPARSER_check_label() to test if an individual label is well-formed. If a given name is not well-formed, creating the DNS packet will fail.

serial: u32

The version number of the original copy of the zone.

refresh: u32

Time interval before the zone should be refreshed.

retry: u32

Time interval that should elapse before a failed refresh should be retried.

expire: u32

Time value that specifies the upper limit on the time interval that can elapse before the zone is no longer authoritative.

minimum_ttl: u32

The bit minimum TTL field that should be exported with any RR from this zone.

Trait Implementations

impl Clone for GNUNET_DNSPARSER_SoaRecord[src]

impl Copy for GNUNET_DNSPARSER_SoaRecord[src]

impl Debug for GNUNET_DNSPARSER_SoaRecord[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> 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.