pub struct Feedback<'x> { /* private fields */ }Implementations§
source§impl<'x> Feedback<'x>
impl<'x> Feedback<'x>
pub fn new(feedback_type: FeedbackType) -> Self
pub fn original_envelope_id(&self) -> Option<&str>
pub fn feedback_type(&self) -> FeedbackType
pub fn with_original_envelope_id(self, value: impl Into<Cow<'x, str>>) -> Self
pub fn original_mail_from(&self) -> Option<&str>
pub fn with_original_mail_from(self, value: impl Into<Cow<'x, str>>) -> Self
pub fn original_rcpt_to(&self) -> Option<&str>
pub fn with_original_rcpt_to(self, value: impl Into<Cow<'x, str>>) -> Self
pub fn reporting_mta(&self) -> Option<&str>
pub fn with_reporting_mta(self, value: impl Into<Cow<'x, str>>) -> Self
pub fn user_agent(&self) -> Option<&str>
pub fn with_user_agent(self, value: impl Into<Cow<'x, str>>) -> Self
pub fn source_ip(&self) -> Option<IpAddr>
pub fn with_source_ip(self, value: IpAddr) -> Self
pub fn dkim_adsp_dns(&self) -> Option<&str>
pub fn with_dkim_adsp_dns(self, value: impl Into<Cow<'x, str>>) -> Self
pub fn dkim_canonicalized_body(&self) -> Option<&str>
pub fn with_dkim_canonicalized_body( self, value: impl Into<Cow<'x, str>> ) -> Self
pub fn dkim_canonicalized_header(&self) -> Option<&str>
pub fn with_dkim_canonicalized_header( self, value: impl Into<Cow<'x, str>> ) -> Self
pub fn dkim_domain(&self) -> Option<&str>
pub fn with_dkim_domain(self, value: impl Into<Cow<'x, str>>) -> Self
pub fn dkim_identity(&self) -> Option<&str>
pub fn with_dkim_identity(self, value: impl Into<Cow<'x, str>>) -> Self
pub fn dkim_selector(&self) -> Option<&str>
pub fn with_dkim_selector(self, value: impl Into<Cow<'x, str>>) -> Self
pub fn dkim_selector_dns(&self) -> Option<&str>
pub fn with_dkim_selector_dns(self, value: impl Into<Cow<'x, str>>) -> Self
pub fn spf_dns(&self) -> Option<&str>
pub fn with_spf_dns(self, value: impl Into<Cow<'x, str>>) -> Self
pub fn message(&self) -> Option<&str>
pub fn with_message(self, value: impl Into<Cow<'x, str>>) -> Self
pub fn headers(&self) -> Option<&str>
pub fn with_headers(self, value: impl Into<Cow<'x, str>>) -> Self
pub fn arrival_date(&self) -> Option<i64>
pub fn with_arrival_date(self, value: i64) -> Self
pub fn incidents(&self) -> u32
pub fn with_incidents(self, value: u32) -> Self
pub fn version(&self) -> u32
pub fn with_version(self, value: u32) -> Self
pub fn source_port(&self) -> u32
pub fn with_source_port(self, value: u32) -> Self
pub fn authentication_results(&self) -> &[Cow<'x, str>]
pub fn with_authentication_results(self, value: impl Into<Cow<'x, str>>) -> Self
pub fn reported_domain(&self) -> &[Cow<'x, str>]
pub fn with_reported_domain(self, value: impl Into<Cow<'x, str>>) -> Self
pub fn reported_uri(&self) -> &[Cow<'x, str>]
pub fn with_reported_uri(self, value: impl Into<Cow<'x, str>>) -> Self
pub fn auth_failure(&self) -> AuthFailureType
pub fn with_auth_failure(self, value: AuthFailureType) -> Self
pub fn delivery_result(&self) -> DeliveryResult
pub fn with_delivery_result(self, value: DeliveryResult) -> Self
pub fn identity_alignment(&self) -> IdentityAlignment
pub fn with_identity_alignment(self, value: IdentityAlignment) -> Self
pub fn into_owned<'y>(self) -> Feedback<'y>
Trait Implementations§
source§impl<'de, 'x> Deserialize<'de> for Feedback<'x>
impl<'de, 'x> Deserialize<'de> for Feedback<'x>
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
source§impl<'x> PartialEq for Feedback<'x>
impl<'x> PartialEq for Feedback<'x>
impl<'x> Eq for Feedback<'x>
impl<'x> StructuralPartialEq for Feedback<'x>
Auto Trait Implementations§
impl<'x> RefUnwindSafe for Feedback<'x>
impl<'x> Send for Feedback<'x>
impl<'x> Sync for Feedback<'x>
impl<'x> Unpin for Feedback<'x>
impl<'x> UnwindSafe for Feedback<'x>
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