pub struct DkimResult<'hdr> {
pub code: DkimResultCode,
pub reason: Option<&'hdr str>,
pub header_d: Option<&'hdr str>,
pub header_i: Option<&'hdr str>,
pub header_b: Option<&'hdr str>,
pub header_a: Option<DkimAlgorithm<'hdr>>,
pub header_s: Option<&'hdr str>,
pub raw: Option<&'hdr str>,
}Expand description
Parsed dkim Result - see RFC 6376 for the header tags
Fields§
§code: DkimResultCodedkim Result (per RFC)
reason: Option<&'hdr str>Reason if supplied (per RFC)
header_d: Option<&'hdr str>header.d (per RFC)
header_i: Option<&'hdr str>header.i (per RFC)
header_b: Option<&'hdr str>header_b (per RFC)
header_a: Option<DkimAlgorithm<'hdr>>header.a (per RFC)
header_s: Option<&'hdr str>header.s (per RFC)
raw: Option<&'hdr str>Unparsed raw
Trait Implementations§
Source§impl<'hdr> Clone for DkimResult<'hdr>
impl<'hdr> Clone for DkimResult<'hdr>
Source§fn clone(&self) -> DkimResult<'hdr>
fn clone(&self) -> DkimResult<'hdr>
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<'hdr> Debug for DkimResult<'hdr>
impl<'hdr> Debug for DkimResult<'hdr>
Source§impl<'hdr> Default for DkimResult<'hdr>
impl<'hdr> Default for DkimResult<'hdr>
Source§fn default() -> DkimResult<'hdr>
fn default() -> DkimResult<'hdr>
Returns the “default value” for a type. Read more
Source§impl<'hdr> PartialEq for DkimResult<'hdr>
impl<'hdr> PartialEq for DkimResult<'hdr>
impl<'hdr> StructuralPartialEq for DkimResult<'hdr>
Auto Trait Implementations§
impl<'hdr> Freeze for DkimResult<'hdr>
impl<'hdr> RefUnwindSafe for DkimResult<'hdr>
impl<'hdr> Send for DkimResult<'hdr>
impl<'hdr> Sync for DkimResult<'hdr>
impl<'hdr> Unpin for DkimResult<'hdr>
impl<'hdr> UnwindSafe for DkimResult<'hdr>
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