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 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<'x> Debug for AuthenticationResults<'x>
impl<'x> Debug for AuthenticationResults<'x>
Source§impl Display for AuthenticationResults<'_>
impl Display for AuthenticationResults<'_>
Source§impl HeaderWriter for AuthenticationResults<'_>
impl HeaderWriter for AuthenticationResults<'_>
Source§impl<'x> PartialEq for AuthenticationResults<'x>
impl<'x> PartialEq for AuthenticationResults<'x>
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
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.