pub struct MX {
pub domain_name: DomainName,
pub ttl: u32,
pub class: Class,
pub preference: u16,
pub exchange: DomainName,
}
Expand description
The mail exchange resource record type.
Fields§
§domain_name: DomainName
§ttl: u32
§class: Class
§preference: u16
§exchange: DomainName
Implementations§
Trait Implementations§
impl Eq for MX
impl StructuralPartialEq for MX
Auto Trait Implementations§
impl Freeze for MX
impl RefUnwindSafe for MX
impl Send for MX
impl Sync for MX
impl Unpin for MX
impl UnwindSafe for MX
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