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: 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.
Implementations§
Trait Implementations§
source§impl<'a> PartialEq for SOA<'a>
impl<'a> PartialEq for SOA<'a>
impl<'a> Eq for SOA<'a>
impl<'a> StructuralPartialEq for SOA<'a>
Auto Trait Implementations§
impl<'a> Freeze for SOA<'a>
impl<'a> RefUnwindSafe for SOA<'a>
impl<'a> Send for SOA<'a>
impl<'a> Sync for SOA<'a>
impl<'a> Unpin for SOA<'a>
impl<'a> UnwindSafe for SOA<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)