pub struct DmarcPassContext {
pub from_domain: String,
pub mail_from_domain: Option<String>,
pub recipient_domain_list: Vec<String>,
pub received_from: String,
pub dkim_results: Vec<AuthenticationResult>,
pub spf_result: AuthenticationResult,
pub reporting_info: Option<ReportingInfo>,
}Fields§
§from_domain: StringDomain of the sender in the “From:”
mail_from_domain: Option<String>Domain that provides the sought-after authorization information.
The “MAIL FROM” email address if available.
recipient_domain_list: Vec<String>The envelope to
received_from: StringThe source IP address
dkim_results: Vec<AuthenticationResult>The results of the DKIM part of the checks
spf_result: AuthenticationResultThe results of the SPF part of the checks
reporting_info: Option<ReportingInfo>The additional information needed to perform reporting
Implementations§
Source§impl DmarcPassContext
impl DmarcPassContext
pub async fn check(self, resolver: &dyn Resolver) -> DispositionWithContext
Auto Trait Implementations§
impl Freeze for DmarcPassContext
impl RefUnwindSafe for DmarcPassContext
impl Send for DmarcPassContext
impl Sync for DmarcPassContext
impl Unpin for DmarcPassContext
impl UnwindSafe for DmarcPassContext
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more