pub struct Record { /* private fields */ }Implementations§
source§impl Record
impl Record
pub fn new() -> Self
pub fn with_dkim_output(self, dkim_output: &[DkimOutput<'_>]) -> Self
pub fn with_spf_output(
self,
spf_output: &SpfOutput,
scope: SPFDomainScope
) -> Self
pub fn with_dmarc_output(self, dmarc_output: &DmarcOutput) -> Self
pub fn with_arc_output(self, arc_output: &ArcOutput<'_>) -> Self
pub fn source_ip(&self) -> Option<IpAddr>
pub fn with_source_ip(self, source_ip: IpAddr) -> Self
pub fn count(&self) -> u32
pub fn with_count(self, count: u32) -> Self
pub fn action_disposition(&self) -> ActionDisposition
pub fn with_action_disposition(self, disposition: ActionDisposition) -> Self
pub fn dmarc_dkim_result(&self) -> DmarcResult
pub fn with_dmarc_dkim_result(self, dkim: DmarcResult) -> Self
pub fn dmarc_spf_result(&self) -> DmarcResult
pub fn with_dmarc_spf_result(self, spf: DmarcResult) -> Self
pub fn policy_override_reason(&self) -> &[PolicyOverrideReason]
pub fn with_policy_override_reason(self, reason: PolicyOverrideReason) -> Self
pub fn envelope_from(&self) -> &str
pub fn with_envelope_from(self, envelope_from: impl Into<String>) -> Self
pub fn header_from(&self) -> &str
pub fn with_header_from(self, header_from: impl Into<String>) -> Self
pub fn envelope_to(&self) -> Option<&str>
pub fn with_envelope_to(self, envelope_to: impl Into<String>) -> Self
pub fn dkim_auth_result(&self) -> &[DKIMAuthResult]
pub fn with_dkim_auth_result(self, auth_result: DKIMAuthResult) -> Self
pub fn spf_auth_result(&self) -> &[SPFAuthResult]
pub fn with_spf_auth_result(self, auth_result: SPFAuthResult) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for Record
impl<'de> Deserialize<'de> for Record
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more