pub struct AuthenticationResults<'hdr> {
pub host: Option<HostVersion<'hdr>>,
pub smtp_auth_result: Vec<SmtpAuthResult<'hdr>>,
pub spf_result: Vec<SpfResult<'hdr>>,
pub dkim_result: Vec<DkimResult<'hdr>>,
pub iprev_result: Vec<IpRevResult<'hdr>>,
pub unknown_result: Vec<UnknownResult<'hdr>>,
pub none_done: bool,
pub raw: Option<&'hdr str>,
pub errors: Vec<AuthResultsError<'hdr>>,
}
Expand description
Parsed Authentication-Results
Fields§
§host: Option<HostVersion<'hdr>>
Relevant host to this record
smtp_auth_result: Vec<SmtpAuthResult<'hdr>>
Parsed auth = .. records
spf_result: Vec<SpfResult<'hdr>>
Parsed spf = .. records
dkim_result: Vec<DkimResult<'hdr>>
Parsed dkim = .. records
iprev_result: Vec<IpRevResult<'hdr>>
Parsed iprev = .. records
unknown_result: Vec<UnknownResult<'hdr>>
Unknown .. = .. records
none_done: bool
Whether none was encountered denoting no result
raw: Option<&'hdr str>
Unparsed raw
errors: Vec<AuthResultsError<'hdr>>
Parsing errors if any
Trait Implementations§
Source§impl<'hdr> Clone for AuthenticationResults<'hdr>
impl<'hdr> Clone for AuthenticationResults<'hdr>
Source§fn clone(&self) -> AuthenticationResults<'hdr>
fn clone(&self) -> AuthenticationResults<'hdr>
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<'hdr> Debug for AuthenticationResults<'hdr>
impl<'hdr> Debug for AuthenticationResults<'hdr>
Source§impl<'hdr> Default for AuthenticationResults<'hdr>
impl<'hdr> Default for AuthenticationResults<'hdr>
Source§fn default() -> AuthenticationResults<'hdr>
fn default() -> AuthenticationResults<'hdr>
Returns the “default value” for a type. Read more
Source§impl<'hdr> From<&'hdr HeaderValue<'hdr>> for AuthenticationResults<'hdr>
impl<'hdr> From<&'hdr HeaderValue<'hdr>> for AuthenticationResults<'hdr>
Source§fn from(hval: &'hdr HeaderValue<'hdr>) -> Self
fn from(hval: &'hdr HeaderValue<'hdr>) -> Self
Converts to this type from the input type.
Source§impl<'hdr> PartialEq for AuthenticationResults<'hdr>
impl<'hdr> PartialEq for AuthenticationResults<'hdr>
impl<'hdr> StructuralPartialEq for AuthenticationResults<'hdr>
Auto Trait Implementations§
impl<'hdr> Freeze for AuthenticationResults<'hdr>
impl<'hdr> RefUnwindSafe for AuthenticationResults<'hdr>
impl<'hdr> Send for AuthenticationResults<'hdr>
impl<'hdr> Sync for AuthenticationResults<'hdr>
impl<'hdr> Unpin for AuthenticationResults<'hdr>
impl<'hdr> UnwindSafe for AuthenticationResults<'hdr>
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