Struct resolv::record::MX
[−]
[src]
pub struct MX { pub preference: i16, pub exchange: String, }
Fields
preference: i16
exchange: String
Trait Implementations
impl Clone for MX
[src]
fn clone(&self) -> MX
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 MX
[src]
impl RecordData for MX
[src]
fn get_record_type() -> RecordType
Get type of record
fn extract(msg: &mut Message, rr: &Rr) -> Result<MX, Error>
Convert from low level resource record. For internal use.