Struct aws_sdk_sesv2::types::SuppressionAttributes
source · #[non_exhaustive]pub struct SuppressionAttributes {
pub suppressed_reasons: Option<Vec<SuppressionListReason>>,
}Expand description
An object that contains information about the email address suppression preferences for your account in the current Amazon Web Services Region.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.suppressed_reasons: Option<Vec<SuppressionListReason>>A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:
-
COMPLAINT– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. -
BOUNCE– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
Implementations§
source§impl SuppressionAttributes
impl SuppressionAttributes
sourcepub fn suppressed_reasons(&self) -> &[SuppressionListReason]
pub fn suppressed_reasons(&self) -> &[SuppressionListReason]
A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:
-
COMPLAINT– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. -
BOUNCE– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .suppressed_reasons.is_none().
source§impl SuppressionAttributes
impl SuppressionAttributes
sourcepub fn builder() -> SuppressionAttributesBuilder
pub fn builder() -> SuppressionAttributesBuilder
Creates a new builder-style object to manufacture SuppressionAttributes.
Trait Implementations§
source§impl Clone for SuppressionAttributes
impl Clone for SuppressionAttributes
source§fn clone(&self) -> SuppressionAttributes
fn clone(&self) -> SuppressionAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SuppressionAttributes
impl Debug for SuppressionAttributes
source§impl PartialEq for SuppressionAttributes
impl PartialEq for SuppressionAttributes
source§fn eq(&self, other: &SuppressionAttributes) -> bool
fn eq(&self, other: &SuppressionAttributes) -> bool
self and other values to be equal, and is used
by ==.