[][src]Struct rusoto_ses::BounceAction

pub struct BounceAction {
    pub message: String,
    pub sender: String,
    pub smtp_reply_code: String,
    pub status_code: Option<String>,
    pub topic_arn: Option<String>,
}

When included in a receipt rule, this action rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

For information about sending a bounce message in response to a received email, see the Amazon SES Developer Guide.

Fields

message: String

Human-readable text to include in the bounce message.

sender: String

The email address of the sender of the bounced email. This is the address from which the bounce message will be sent.

smtp_reply_code: String

The SMTP reply code, as defined by RFC 5321.

status_code: Option<String>

The SMTP enhanced status code, as defined by RFC 3463.

topic_arn: Option<String>

The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

Trait Implementations

impl PartialEq<BounceAction> for BounceAction[src]

impl Default for BounceAction[src]

impl Clone for BounceAction[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for BounceAction[src]

Auto Trait Implementations

impl Send for BounceAction

impl Sync for BounceAction

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self