msg-auth-status 0.2.0

Parser & Verifier for Message Authentication Status - DKIM-Signature and Authentication-Results
Documentation
//! auth ptype and it's properties
//!
//! And Auth in RFC 8601 s. 2.7

/// auth ptypes
#[derive(Clone, Debug, PartialEq)]
pub enum AuthProperty<'hdr> {
    /// smtp.*
    Smtp(AuthSmtp<'hdr>),
}

/// auth smtp.* properties
#[derive(Clone, Debug, PartialEq)]
pub enum AuthSmtp<'hdr> {
    /// smtp.mailfrom
    MailFrom(&'hdr str),
    /// smtp.auth
    Auth(&'hdr str),
}