pub struct DkimSignature<'hdr> {Show 15 fields
pub v: DkimVersion<'hdr>,
pub a: DkimAlgorithm<'hdr>,
pub b: &'hdr str,
pub bh: &'hdr str,
pub c: Option<DkimCanonicalization<'hdr>>,
pub d: &'hdr str,
pub h: &'hdr str,
pub i: Option<&'hdr str>,
pub l: Option<&'hdr str>,
pub q: Option<&'hdr str>,
pub s: &'hdr str,
pub t: Option<DkimTimestamp<'hdr>>,
pub x: Option<DkimTimestamp<'hdr>>,
pub z: Option<&'hdr str>,
pub raw: Option<&'hdr str>,
}Expand description
RFC 6376 s. 3.5
Fields§
§v: DkimVersion<'hdr>Version
a: DkimAlgorithm<'hdr>Algorithm
b: &'hdr strSignature data (base64)
bh: &'hdr strHash of canonicalized body part of the message as limited by the ‘l=’
c: Option<DkimCanonicalization<'hdr>>Message canonicalization informs the verifier of the type of canonicalization used to prepare the message for signing. See s.3.4
d: &'hdr strThe SDID claiming responsibility for an introduction of a message into the mail stream
h: &'hdr strSigned header fields separated by colon ‘:’ - see ‘h=’
i: Option<&'hdr str>The Agent or User Identifier (AUID) on behalf of which the SDID is taking responsibility.
l: Option<&'hdr str>Body length limit - see misuse on RFC 6376 s. 8.2
q: Option<&'hdr str>Query methods - currently only DnsTxt
s: &'hdr strThe selector subdividing the namespace for the “d=” (domain) tag
t: Option<DkimTimestamp<'hdr>>Recommended - Signature Timestamp
x: Option<DkimTimestamp<'hdr>>Recommended - Signature Expiration
z: Option<&'hdr str>Copied header fields
raw: Option<&'hdr str>Raw unparsed
Trait Implementations§
Source§impl<'hdr> Clone for DkimSignature<'hdr>
impl<'hdr> Clone for DkimSignature<'hdr>
Source§fn clone(&self) -> DkimSignature<'hdr>
fn clone(&self) -> DkimSignature<'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 DkimSignature<'hdr>
impl<'hdr> Debug for DkimSignature<'hdr>
Source§impl<'hdr> PartialEq for DkimSignature<'hdr>
impl<'hdr> PartialEq for DkimSignature<'hdr>
Source§impl<'hdr> TryFrom<&'hdr HeaderValue<'hdr>> for DkimSignature<'hdr>
impl<'hdr> TryFrom<&'hdr HeaderValue<'hdr>> for DkimSignature<'hdr>
Source§type Error = DkimSignatureError<'hdr>
type Error = DkimSignatureError<'hdr>
The type returned in the event of a conversion error.
impl<'hdr> StructuralPartialEq for DkimSignature<'hdr>
Auto Trait Implementations§
impl<'hdr> Freeze for DkimSignature<'hdr>
impl<'hdr> RefUnwindSafe for DkimSignature<'hdr>
impl<'hdr> Send for DkimSignature<'hdr>
impl<'hdr> Sync for DkimSignature<'hdr>
impl<'hdr> Unpin for DkimSignature<'hdr>
impl<'hdr> UnwindSafe for DkimSignature<'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