Struct mail_auth::AuthenticationResults
source · pub struct AuthenticationResults<'x> { /* private fields */ }Implementations§
source§impl<'x> AuthenticationResults<'x>
impl<'x> AuthenticationResults<'x>
pub fn new(hostname: &'x str) -> Self
pub fn with_dkim_results( self, dkim: &[DkimOutput<'_>], header_from: &str ) -> Self
pub fn with_dkim_result(self, dkim: &DkimOutput<'_>, header_from: &str) -> Self
pub fn set_dkim_result(&mut self, dkim: &DkimOutput<'_>, header_from: &str)
pub fn with_spf_ehlo_result( self, spf: &SpfOutput, ip_addr: IpAddr, ehlo_domain: &str ) -> Self
pub fn with_spf_mailfrom_result( self, spf: &SpfOutput, ip_addr: IpAddr, from: &str, ehlo_domain: &str ) -> Self
pub fn with_arc_result(self, arc: &ArcOutput<'_>, remote_ip: IpAddr) -> Self
pub fn with_dmarc_result(self, dmarc: &DmarcOutput) -> Self
pub fn with_iprev_result(self, iprev: &IprevOutput, remote_ip: IpAddr) -> Self
Trait Implementations§
source§impl<'x> Clone for AuthenticationResults<'x>
impl<'x> Clone for AuthenticationResults<'x>
source§fn clone(&self) -> AuthenticationResults<'x>
fn clone(&self) -> AuthenticationResults<'x>
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<'x> Debug for AuthenticationResults<'x>
impl<'x> Debug for AuthenticationResults<'x>
source§impl<'x> Display for AuthenticationResults<'x>
impl<'x> Display for AuthenticationResults<'x>
source§impl<'x> HeaderWriter for AuthenticationResults<'x>
impl<'x> HeaderWriter for AuthenticationResults<'x>
source§impl<'x> PartialEq for AuthenticationResults<'x>
impl<'x> PartialEq for AuthenticationResults<'x>
source§fn eq(&self, other: &AuthenticationResults<'x>) -> bool
fn eq(&self, other: &AuthenticationResults<'x>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'x> Eq for AuthenticationResults<'x>
impl<'x> StructuralPartialEq for AuthenticationResults<'x>
Auto Trait Implementations§
impl<'x> Freeze for AuthenticationResults<'x>
impl<'x> RefUnwindSafe for AuthenticationResults<'x>
impl<'x> Send for AuthenticationResults<'x>
impl<'x> Sync for AuthenticationResults<'x>
impl<'x> Unpin for AuthenticationResults<'x>
impl<'x> UnwindSafe for AuthenticationResults<'x>
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