pub struct Dkim2Output<'x> { /* private fields */ }Implementations§
Source§impl<'x> Dkim2Output<'x>
impl<'x> Dkim2Output<'x>
pub fn result(&self) -> &Dkim2Result
pub fn chain(&self) -> &[ChainLink<'x>]
pub fn error(&self) -> Option<&Error>
pub fn failure_reason(&self) -> Option<String>
Sourcepub fn feedback_requested(&self) -> bool
pub fn feedback_requested(&self) -> bool
Returns true if any signer in the verified chain requested feedback
(the feedback flag, draft-ietf-dkim-dkim2-spec-03 §8.10).
Sourcepub fn feedback_domains(&self) -> Vec<&str>
pub fn feedback_domains(&self) -> Vec<&str>
Domains (d=) of the signatures that requested feedback.
Sourcepub fn feedback_relay(&self) -> Option<&str>
pub fn feedback_relay(&self) -> Option<&str>
If a privacy-conscious Forwarder set the feedhere flag, returns the
domain of the most recent such hop, via which feedback should be relayed
instead of being sent directly to the requestor (§8.10). Otherwise None.
Trait Implementations§
Source§impl<'x> Clone for Dkim2Output<'x>
impl<'x> Clone for Dkim2Output<'x>
Source§fn clone(&self) -> Dkim2Output<'x>
fn clone(&self) -> Dkim2Output<'x>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'x> Debug for Dkim2Output<'x>
impl<'x> Debug for Dkim2Output<'x>
impl<'x> Eq for Dkim2Output<'x>
Source§impl From<Dkim2Result> for Dkim2Output<'_>
impl From<Dkim2Result> for Dkim2Output<'_>
Source§fn from(result: Dkim2Result) -> Self
fn from(result: Dkim2Result) -> Self
Converts to this type from the input type.
Source§impl<'x> PartialEq for Dkim2Output<'x>
impl<'x> PartialEq for Dkim2Output<'x>
Source§fn eq(&self, other: &Dkim2Output<'x>) -> bool
fn eq(&self, other: &Dkim2Output<'x>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'x> StructuralPartialEq for Dkim2Output<'x>
Auto Trait Implementations§
impl<'x> Freeze for Dkim2Output<'x>
impl<'x> RefUnwindSafe for Dkim2Output<'x>
impl<'x> Send for Dkim2Output<'x>
impl<'x> Sync for Dkim2Output<'x>
impl<'x> Unpin for Dkim2Output<'x>
impl<'x> UnsafeUnpin for Dkim2Output<'x>
impl<'x> UnwindSafe for Dkim2Output<'x>
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more