Struct simple_dns::rdata::MX
source · [−]Expand description
MX is used to acquire mail exchange information
Fields
preference: u16A 16 bit integer which specifies the preference given to this RR among others at the same owner.
Lower values are preferred.
exchange: Name<'a>A Name which specifies a host willing to act as a mail exchange for the owner name.
Implementations
Transforms the inner data into it’s owned type
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for MX<'a>
impl<'a> UnwindSafe for MX<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more