pub struct MXRecord {
pub record_type: DnsRecordType,
pub name: String,
pub content: String,
pub ttl: u32,
pub priority: u32,
}Expand description
To create a MX Record
Directs mail to an email server.
Fields§
§record_type: DnsRecordType§name: String§content: String§ttl: u32§priority: u32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MXRecord
impl RefUnwindSafe for MXRecord
impl Send for MXRecord
impl Sync for MXRecord
impl Unpin for MXRecord
impl UnwindSafe for MXRecord
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