Struct mail_auth::DmarcOutput
source · pub struct DmarcOutput { /* private fields */ }Implementations§
source§impl DmarcOutput
impl DmarcOutput
pub fn domain(&self) -> &str
pub fn into_domain(self) -> String
pub fn policy(&self) -> Policy
pub fn dkim_result(&self) -> &DmarcResult
pub fn spf_result(&self) -> &DmarcResult
pub fn dmarc_record(&self) -> Option<&Dmarc>
pub fn dmarc_record_cloned(&self) -> Option<Arc<Dmarc>>
pub fn requested_reports(&self) -> bool
sourcepub fn failure_report(&self) -> Option<Report>
pub fn failure_report(&self) -> Option<Report>
Returns the failure reporting options
Trait Implementations§
source§impl Clone for DmarcOutput
impl Clone for DmarcOutput
source§fn clone(&self) -> DmarcOutput
fn clone(&self) -> DmarcOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DmarcOutput
impl Debug for DmarcOutput
source§impl Default for DmarcOutput
impl Default for DmarcOutput
source§impl PartialEq for DmarcOutput
impl PartialEq for DmarcOutput
source§fn eq(&self, other: &DmarcOutput) -> bool
fn eq(&self, other: &DmarcOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for DmarcOutput
impl StructuralPartialEq for DmarcOutput
Auto Trait Implementations§
impl Freeze for DmarcOutput
impl RefUnwindSafe for DmarcOutput
impl Send for DmarcOutput
impl Sync for DmarcOutput
impl Unpin for DmarcOutput
impl UnwindSafe for DmarcOutput
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