pub struct Mx<'a> {
pub preference: u16,
pub exchange: DnsName<'a>,
}Expand description
§Mail exchange
This record is used to specify the mail exchange for a domain name.
Fields§
§preference: u16The preference of this mail exchange
exchange: DnsName<'a>The domain name of the mail exchange
Trait Implementations§
impl<'a> Copy for Mx<'a>
impl<'a> StructuralPartialEq for Mx<'a>
Auto Trait Implementations§
impl<'a> Freeze for Mx<'a>
impl<'a> RefUnwindSafe for Mx<'a>
impl<'a> Send for Mx<'a>
impl<'a> Sync for Mx<'a>
impl<'a> Unpin for Mx<'a>
impl<'a> UnwindSafe for Mx<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more