Struct aws_sdk_ses::model::BouncedRecipientInfo
source · [−]#[non_exhaustive]pub struct BouncedRecipientInfo {
pub recipient: Option<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: Option<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
sourceimpl BouncedRecipientInfo
impl BouncedRecipientInfo
sourcepub fn recipient(&self) -> Option<&str>
pub fn recipient(&self) -> Option<&str>
The email address of the recipient of the bounced email.
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
.
sourceimpl BouncedRecipientInfo
impl BouncedRecipientInfo
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BouncedRecipientInfo
Trait Implementations
sourceimpl Clone for BouncedRecipientInfo
impl Clone for BouncedRecipientInfo
sourcefn clone(&self) -> BouncedRecipientInfo
fn clone(&self) -> BouncedRecipientInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BouncedRecipientInfo
impl Debug for BouncedRecipientInfo
sourceimpl PartialEq<BouncedRecipientInfo> for BouncedRecipientInfo
impl PartialEq<BouncedRecipientInfo> for BouncedRecipientInfo
sourcefn eq(&self, other: &BouncedRecipientInfo) -> bool
fn eq(&self, other: &BouncedRecipientInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BouncedRecipientInfo) -> bool
fn ne(&self, other: &BouncedRecipientInfo) -> bool
This method tests for !=
.
impl StructuralPartialEq for BouncedRecipientInfo
Auto Trait Implementations
impl RefUnwindSafe for BouncedRecipientInfo
impl Send for BouncedRecipientInfo
impl Sync for BouncedRecipientInfo
impl Unpin for BouncedRecipientInfo
impl UnwindSafe for BouncedRecipientInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more