Struct rusoto_ses::BounceAction
source · [−]pub struct BounceAction {
pub message: String,
pub sender: String,
pub smtp_reply_code: String,
pub status_code: Option<String>,
pub topic_arn: Option<String>,
}
Expand description
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
sourceimpl Clone for BounceAction
impl Clone for BounceAction
sourcefn clone(&self) -> BounceAction
fn clone(&self) -> BounceAction
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 BounceAction
impl Debug for BounceAction
sourceimpl Default for BounceAction
impl Default for BounceAction
sourcefn default() -> BounceAction
fn default() -> BounceAction
Returns the “default value” for a type. Read more
sourceimpl PartialEq<BounceAction> for BounceAction
impl PartialEq<BounceAction> for BounceAction
sourcefn eq(&self, other: &BounceAction) -> bool
fn eq(&self, other: &BounceAction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BounceAction) -> bool
fn ne(&self, other: &BounceAction) -> bool
This method tests for !=
.
impl StructuralPartialEq for BounceAction
Auto Trait Implementations
impl RefUnwindSafe for BounceAction
impl Send for BounceAction
impl Sync for BounceAction
impl Unpin for BounceAction
impl UnwindSafe for BounceAction
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