Struct resolv::record::SOA [] [src]

pub struct SOA {
    pub mname: String,
    pub rname: String,
    pub serial: u32,
    pub refresh: u32,
    pub retry: u32,
    pub expire: u32,
    pub minimum: u32,
}

Fields

mname: String rname: String serial: u32 refresh: u32 retry: u32 expire: u32 minimum: u32

Trait Implementations

impl Clone for SOA
[src]

fn clone(&self) -> SOA

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for SOA
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl RecordData for SOA
[src]

fn get_record_type() -> RecordType

Get type of record

fn extract(msg: &mut Message, rr: &Rr) -> Result<SOAError>

Convert from low level resource record. For internal use.