#[non_exhaustive]pub struct PutAccountSendingAttributesInput {
pub sending_enabled: bool,
}
Expand description
A request to change the ability of your account to send email.
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.sending_enabled: bool
Enables or disables your account's ability to send email. Set to true
to enable email sending, or set to false
to disable email sending.
If AWS paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutAccountSendingAttributes, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutAccountSendingAttributes, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutAccountSendingAttributes
>
Creates a new builder-style object to manufacture PutAccountSendingAttributesInput
Enables or disables your account's ability to send email. Set to true
to enable email sending, or set to false
to disable email sending.
If AWS paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.
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 PutAccountSendingAttributesInput
impl Sync for PutAccountSendingAttributesInput
impl Unpin for PutAccountSendingAttributesInput
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