Struct simple_dns::rdata::SOA
source · [−]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: u32The 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: i32A 32 bit time interval before the zone should be refreshed.
retry: i32A 32 bit time interval that should elapse before a failed refresh should be retried.
expire: i32A 32 bit time value that specifies the upper limit on the time interval that can elapse before the zone is no longer authoritative.
minimum: u32The unsigned 32 bit minimum TTL field that should be exported with any RR from this zone.
Implementations
Transforms the inner data into it’s owned type
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for SOA<'a>
impl<'a> UnwindSafe for SOA<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more