Struct aws_sdk_sesv2::types::SuppressionOptions
source · #[non_exhaustive]pub struct SuppressionOptions {
pub suppressed_reasons: Option<Vec<SuppressionListReason>>,
}Expand description
An object that contains information about the suppression list preferences for your account.
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 are 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 SuppressionOptions
impl SuppressionOptions
sourcepub fn suppressed_reasons(&self) -> &[SuppressionListReason]
pub fn suppressed_reasons(&self) -> &[SuppressionListReason]
A list that contains the reasons that email addresses are 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 SuppressionOptions
impl SuppressionOptions
sourcepub fn builder() -> SuppressionOptionsBuilder
pub fn builder() -> SuppressionOptionsBuilder
Creates a new builder-style object to manufacture SuppressionOptions.
Trait Implementations§
source§impl Clone for SuppressionOptions
impl Clone for SuppressionOptions
source§fn clone(&self) -> SuppressionOptions
fn clone(&self) -> SuppressionOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SuppressionOptions
impl Debug for SuppressionOptions
source§impl PartialEq for SuppressionOptions
impl PartialEq for SuppressionOptions
source§fn eq(&self, other: &SuppressionOptions) -> bool
fn eq(&self, other: &SuppressionOptions) -> bool
self and other values to be equal, and is used
by ==.