msg_auth_status/
auth_results.rs1use crate::auth::AuthProperty;
4use crate::dkim::DkimProperty;
5use crate::iprev::IpRevProperty;
6use crate::spf::SpfProperty;
7
8#[derive(Clone, Debug, PartialEq)]
10pub struct HostVersion<'hdr> {
11 pub host: &'hdr str,
13 pub version: Option<u32>,
15}
16
17#[derive(Clone, Debug, PartialEq)]
19pub enum Prop<'hdr> {
20 Auth(AuthProperty<'hdr>),
22 Dkim(DkimProperty<'hdr>),
24 IpRev(IpRevProperty<'hdr>),
28 Spf(SpfProperty<'hdr>),
30 Unknown(UnknownProperty<'hdr>),
32}
33
34#[derive(Clone, Debug, PartialEq)]
36pub struct UnknownProperty<'hdr> {
37 ptype: &'hdr str,
39 pkey: &'hdr str,
41 pval: &'hdr str,
43}