pub struct AuthResults {
pub spf: String,
pub dkim: String,
pub arc: String,
pub dmarc: String,
pub dmarc_policy: DmarcPolicy,
}Expand description
SPF / DKIM / ARC / DMARC verification summary.
Each result is a free-form lowercase token per the relevant RFC
(pass / fail / softfail / neutral / none / temperror /
permerror). The token shape matches what
crate::auth_header::build_auth_header expects.
Fields§
§spf: StringSPF result (RFC 7208).
dkim: StringDKIM result (RFC 6376) — aggregated across all signatures: pass if
any signature verified, else fail (when any signature was present
and failed), else none.
arc: StringARC result (RFC 8617): pass / fail / none.
dmarc: StringDMARC result (RFC 7489): pass / fail / none / temperror.
dmarc_policy: DmarcPolicyThe DMARC policy advertised by the sending domain (p= tag),
used to gate the make_delivery_decision
outcome.
Trait Implementations§
Source§impl Clone for AuthResults
impl Clone for AuthResults
Source§fn clone(&self) -> AuthResults
fn clone(&self) -> AuthResults
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AuthResults
impl Debug for AuthResults
Source§impl Default for AuthResults
impl Default for AuthResults
Source§impl PartialEq for AuthResults
impl PartialEq for AuthResults
Source§fn eq(&self, other: &AuthResults) -> bool
fn eq(&self, other: &AuthResults) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AuthResults
Auto Trait Implementations§
impl Freeze for AuthResults
impl RefUnwindSafe for AuthResults
impl Send for AuthResults
impl Sync for AuthResults
impl Unpin for AuthResults
impl UnsafeUnpin for AuthResults
impl UnwindSafe for AuthResults
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