Struct mail_auth::report::SPFAuthResult
source · pub struct SPFAuthResult { /* private fields */ }Implementations§
source§impl SPFAuthResult
impl SPFAuthResult
pub fn new() -> Self
pub fn domain(&self) -> &str
pub fn with_domain(self, domain: impl Into<String>) -> Self
pub fn scope(&self) -> SPFDomainScope
pub fn with_scope(self, scope: SPFDomainScope) -> Self
pub fn result(&self) -> SpfResult
pub fn with_result(self, result: SpfResult) -> Self
pub fn human_result(&self) -> Option<&str>
pub fn with_human_result(self, human_result: impl Into<String>) -> Self
Trait Implementations§
source§impl Clone for SPFAuthResult
impl Clone for SPFAuthResult
source§fn clone(&self) -> SPFAuthResult
fn clone(&self) -> SPFAuthResult
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 Debug for SPFAuthResult
impl Debug for SPFAuthResult
source§impl Default for SPFAuthResult
impl Default for SPFAuthResult
source§fn default() -> SPFAuthResult
fn default() -> SPFAuthResult
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SPFAuthResult
impl<'de> Deserialize<'de> for SPFAuthResult
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for SPFAuthResult
impl Hash for SPFAuthResult
source§impl PartialEq<SPFAuthResult> for SPFAuthResult
impl PartialEq<SPFAuthResult> for SPFAuthResult
source§fn eq(&self, other: &SPFAuthResult) -> bool
fn eq(&self, other: &SPFAuthResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.