Struct aws_sdk_sesv2::operation::put_account_sending_attributes::PutAccountSendingAttributesInput
source · #[non_exhaustive]pub struct PutAccountSendingAttributesInput {
pub sending_enabled: Option<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
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.sending_enabled: Option<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 Amazon Web Services paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.
Implementations§
source§impl PutAccountSendingAttributesInput
impl PutAccountSendingAttributesInput
sourcepub fn sending_enabled(&self) -> Option<bool>
pub fn sending_enabled(&self) -> Option<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 Amazon Web Services paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.
source§impl PutAccountSendingAttributesInput
impl PutAccountSendingAttributesInput
sourcepub fn builder() -> PutAccountSendingAttributesInputBuilder
pub fn builder() -> PutAccountSendingAttributesInputBuilder
Creates a new builder-style object to manufacture PutAccountSendingAttributesInput.
Trait Implementations§
source§impl Clone for PutAccountSendingAttributesInput
impl Clone for PutAccountSendingAttributesInput
source§fn clone(&self) -> PutAccountSendingAttributesInput
fn clone(&self) -> PutAccountSendingAttributesInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq for PutAccountSendingAttributesInput
impl PartialEq for PutAccountSendingAttributesInput
source§fn eq(&self, other: &PutAccountSendingAttributesInput) -> bool
fn eq(&self, other: &PutAccountSendingAttributesInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PutAccountSendingAttributesInput
Auto Trait Implementations§
impl RefUnwindSafe for PutAccountSendingAttributesInput
impl Send for PutAccountSendingAttributesInput
impl Sync for PutAccountSendingAttributesInput
impl Unpin for PutAccountSendingAttributesInput
impl UnwindSafe for PutAccountSendingAttributesInput
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.