pub struct DKIMAuthResult {
pub domain: String,
pub selector: String,
pub result: DkimResult,
pub human_result: Option<String>,
}Fields§
§domain: String§selector: String§result: DkimResult§human_result: Option<String>Implementations§
Source§impl DKIMAuthResult
impl DKIMAuthResult
pub fn new() -> Self
pub fn domain(&self) -> &str
pub fn with_domain(self, domain: impl Into<String>) -> Self
pub fn selector(&self) -> &str
pub fn with_selector(self, selector: impl Into<String>) -> Self
pub fn result(&self) -> DkimResult
pub fn with_result(self, result: DkimResult) -> 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 DKIMAuthResult
impl Clone for DKIMAuthResult
Source§fn clone(&self) -> DKIMAuthResult
fn clone(&self) -> DKIMAuthResult
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 DKIMAuthResult
impl Debug for DKIMAuthResult
Source§impl Default for DKIMAuthResult
impl Default for DKIMAuthResult
Source§fn default() -> DKIMAuthResult
fn default() -> DKIMAuthResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DKIMAuthResult
impl<'de> Deserialize<'de> for DKIMAuthResult
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 DKIMAuthResult
impl Hash for DKIMAuthResult
Source§impl PartialEq for DKIMAuthResult
impl PartialEq for DKIMAuthResult
Source§impl Serialize for DKIMAuthResult
impl Serialize for DKIMAuthResult
impl Eq for DKIMAuthResult
impl StructuralPartialEq for DKIMAuthResult
Auto Trait Implementations§
impl Freeze for DKIMAuthResult
impl RefUnwindSafe for DKIMAuthResult
impl Send for DKIMAuthResult
impl Sync for DKIMAuthResult
impl Unpin for DKIMAuthResult
impl UnsafeUnpin for DKIMAuthResult
impl UnwindSafe for DKIMAuthResult
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.