Struct simple_dns::rdata::SOA[][src]

pub struct SOA<'a> {
    pub mname: Name<'a>,
    pub rname: Name<'a>,
    pub serial: u32,
    pub refresh: i32,
    pub retry: i32,
    pub expire: i32,
    pub minimum: u32,
}
Expand description

SOA records are used to mark the start of a zone of authority

Fields

mname: Name<'a>

The Name of the name server that was the original or primary source of data for this zone.

rname: Name<'a>

A Name which specifies the mailbox of the person responsible for this zone.

serial: u32

The unsigned 32 bit version number of the original copy of the zone. Zone transfers preserve this value.
This value wraps and should be compared using sequence space arithmetic.

refresh: i32

A 32 bit time interval before the zone should be refreshed.

retry: i32

A 32 bit time interval that should elapse before a failed refresh should be retried.

expire: i32

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

minimum: u32

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

Trait Implementations

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. 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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.