Struct rustdns::MX[][src]

pub struct MX {
    pub preference: u16,
    pub exchange: String,
}
Expand description

Mail EXchanger (MX) record specifies the mail server responsible for accepting email messages on behalf of a domain name.

Fields

preference: u16

The preference given to this RR among others at the same owner. Lower values are preferred.

exchange: String

A host willing to act as a mail exchange for the owner name.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.