Struct aws_sdk_sesv2::input::PutSuppressedDestinationInput
source ·
[−]#[non_exhaustive]pub struct PutSuppressedDestinationInput {
pub email_address: Option<String>,
pub reason: Option<SuppressionListReason>,
}
Expand description
A request to add an email destination to the suppression list 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.email_address: Option<String>
The email address that should be added to the suppression list for your account.
reason: Option<SuppressionListReason>
The factors that should cause the email address to be added to the suppression list for your account.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutSuppressedDestination, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutSuppressedDestination, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutSuppressedDestination
>
Creates a new builder-style object to manufacture PutSuppressedDestinationInput
The email address that should be added to the suppression list for your account.
The factors that should cause the email address to be added to the suppression list for your account.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for PutSuppressedDestinationInput
impl Sync for PutSuppressedDestinationInput
impl Unpin for PutSuppressedDestinationInput
impl UnwindSafe for PutSuppressedDestinationInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more