Struct aws_sdk_sesv2::types::Bounce
source · #[non_exhaustive]pub struct Bounce {
pub bounce_type: Option<BounceType>,
pub bounce_sub_type: Option<String>,
pub diagnostic_code: Option<String>,
}Expand description
Information about a Bounce event.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bounce_type: Option<BounceType>The type of the bounce, as determined by SES. Can be one of UNDETERMINED, TRANSIENT, or PERMANENT
bounce_sub_type: Option<String>The subtype of the bounce, as determined by SES.
diagnostic_code: Option<String>The status code issued by the reporting Message Transfer Authority (MTA). This field only appears if a delivery status notification (DSN) was attached to the bounce and the Diagnostic-Code was provided in the DSN.
Implementations§
source§impl Bounce
impl Bounce
sourcepub fn bounce_type(&self) -> Option<&BounceType>
pub fn bounce_type(&self) -> Option<&BounceType>
The type of the bounce, as determined by SES. Can be one of UNDETERMINED, TRANSIENT, or PERMANENT
sourcepub fn bounce_sub_type(&self) -> Option<&str>
pub fn bounce_sub_type(&self) -> Option<&str>
The subtype of the bounce, as determined by SES.
sourcepub fn diagnostic_code(&self) -> Option<&str>
pub fn diagnostic_code(&self) -> Option<&str>
The status code issued by the reporting Message Transfer Authority (MTA). This field only appears if a delivery status notification (DSN) was attached to the bounce and the Diagnostic-Code was provided in the DSN.
Trait Implementations§
source§impl PartialEq for Bounce
impl PartialEq for Bounce
impl StructuralPartialEq for Bounce
Auto Trait Implementations§
impl RefUnwindSafe for Bounce
impl Send for Bounce
impl Sync for Bounce
impl Unpin for Bounce
impl UnwindSafe for Bounce
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.