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 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 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§impl Serialize for SPFAuthResult
impl Serialize for SPFAuthResult
impl Eq for SPFAuthResult
impl StructuralPartialEq for SPFAuthResult
Auto Trait Implementations§
impl Freeze for SPFAuthResult
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
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.