Struct rotor_dns::MxRecord [] [src]

pub struct MxRecord {
    pub preference: u16,
    pub exchange: String,
}

Single MX record

Fields

preference: u16 exchange: String

Trait Implementations

impl Clone for MxRecord
[src]

fn clone(&self) -> MxRecord

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 MxRecord
[src]

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

Formats the value using the given formatter.