Struct aws_sdk_ses::types::BouncedRecipientInfo
source · #[non_exhaustive]pub struct BouncedRecipientInfo {
pub recipient: String,
pub recipient_arn: Option<String>,
pub bounce_type: Option<BounceType>,
pub recipient_dsn_fields: Option<RecipientDsnFields>,
}
Expand description
Recipient-related information to include in the Delivery Status Notification (DSN) when an email that Amazon SES receives on your behalf bounces.
For information about receiving email through Amazon SES, see the Amazon SES Developer Guide.
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.recipient: String
The email address of the recipient of the bounced email.
recipient_arn: Option<String>
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the Amazon SES Developer Guide.
bounce_type: Option<BounceType>
The reason for the bounce. You must provide either this parameter or RecipientDsnFields
.
recipient_dsn_fields: Option<RecipientDsnFields>
Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a BounceType
. You must provide either this parameter or BounceType
.
Implementations§
source§impl BouncedRecipientInfo
impl BouncedRecipientInfo
sourcepub fn recipient_arn(&self) -> Option<&str>
pub fn recipient_arn(&self) -> Option<&str>
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the Amazon SES Developer Guide.
sourcepub fn bounce_type(&self) -> Option<&BounceType>
pub fn bounce_type(&self) -> Option<&BounceType>
The reason for the bounce. You must provide either this parameter or RecipientDsnFields
.
sourcepub fn recipient_dsn_fields(&self) -> Option<&RecipientDsnFields>
pub fn recipient_dsn_fields(&self) -> Option<&RecipientDsnFields>
Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a BounceType
. You must provide either this parameter or BounceType
.
source§impl BouncedRecipientInfo
impl BouncedRecipientInfo
sourcepub fn builder() -> BouncedRecipientInfoBuilder
pub fn builder() -> BouncedRecipientInfoBuilder
Creates a new builder-style object to manufacture BouncedRecipientInfo
.
Trait Implementations§
source§impl Clone for BouncedRecipientInfo
impl Clone for BouncedRecipientInfo
source§fn clone(&self) -> BouncedRecipientInfo
fn clone(&self) -> BouncedRecipientInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BouncedRecipientInfo
impl Debug for BouncedRecipientInfo
source§impl PartialEq for BouncedRecipientInfo
impl PartialEq for BouncedRecipientInfo
source§fn eq(&self, other: &BouncedRecipientInfo) -> bool
fn eq(&self, other: &BouncedRecipientInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BouncedRecipientInfo
Auto Trait Implementations§
impl Freeze for BouncedRecipientInfo
impl RefUnwindSafe for BouncedRecipientInfo
impl Send for BouncedRecipientInfo
impl Sync for BouncedRecipientInfo
impl Unpin for BouncedRecipientInfo
impl UnwindSafe for BouncedRecipientInfo
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more