pub struct SpfOutput { /* private fields */ }
Implementations§
Source§impl SpfOutput
impl SpfOutput
pub fn new(domain: String) -> Self
pub fn with_result(self, result: SpfResult) -> Self
pub fn with_report(self, spf: &Spf) -> Self
pub fn with_explanation(self, explanation: String) -> Self
pub fn result(&self) -> SpfResult
pub fn domain(&self) -> &str
pub fn explanation(&self) -> Option<&str>
pub fn report_address(&self) -> Option<&str>
Trait Implementations§
impl Eq for SpfOutput
impl StructuralPartialEq for SpfOutput
Auto Trait Implementations§
impl Freeze for SpfOutput
impl RefUnwindSafe for SpfOutput
impl Send for SpfOutput
impl Sync for SpfOutput
impl Unpin for SpfOutput
impl UnwindSafe for SpfOutput
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.