pub struct SOA {
pub mname: DomainName,
pub rname: DomainName,
pub serial: u32,
pub refresh: u32,
pub retry: u32,
pub expire: u32,
pub minimum: u32,
}
Expand description
A SOA record.
Fields§
§mname: DomainName
§rname: DomainName
§serial: u32
§refresh: u32
§retry: u32
§expire: u32
§minimum: u32
Implementations§
Source§impl SOA
impl SOA
Sourcepub fn to_rr(&self, name: &DomainName) -> ResourceRecord
pub fn to_rr(&self, name: &DomainName) -> ResourceRecord
Convert it into a SOA RR
Sourcepub fn to_rdata(&self) -> RecordTypeWithData
pub fn to_rdata(&self) -> RecordTypeWithData
Convert it into a SOA RDATA
Trait Implementations§
impl Eq for SOA
impl StructuralPartialEq for SOA
Auto Trait Implementations§
impl Freeze for SOA
impl RefUnwindSafe for SOA
impl Send for SOA
impl Sync for SOA
impl Unpin for SOA
impl UnwindSafe for SOA
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
Mutably borrows from an owned value. Read more