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 for SPFAuthResult
impl PartialEq 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 ==.source§impl Serialize for SPFAuthResult
impl Serialize for SPFAuthResult
impl Eq for SPFAuthResult
impl StructuralPartialEq for SPFAuthResult
Auto Trait Implementations§
impl RefUnwindSafe for SPFAuthResult
impl Send for SPFAuthResult
impl Sync for SPFAuthResult
impl Unpin for SPFAuthResult
impl UnwindSafe for SPFAuthResult
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