pub struct DmarcOutput { /* private fields */ }
Implementations§
Source§impl DmarcOutput
impl DmarcOutput
pub fn new(domain: String) -> Self
pub fn with_domain(self, domain: &str) -> Self
pub fn with_spf_result(self, result: DmarcResult) -> Self
pub fn with_dkim_result(self, result: DmarcResult) -> Self
pub fn with_record(self, record: Arc<Dmarc>) -> Self
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 duplicate 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
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.