Struct rusoto_ses::ReceiptAction
source · [−]pub struct ReceiptAction {
pub add_header_action: Option<AddHeaderAction>,
pub bounce_action: Option<BounceAction>,
pub lambda_action: Option<LambdaAction>,
pub s3_action: Option<S3Action>,
pub sns_action: Option<SNSAction>,
pub stop_action: Option<StopAction>,
pub workmail_action: Option<WorkmailAction>,
}
Expand description
An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own. An instance of this data type can represent only one action.
For information about setting up receipt rules, see the Amazon SES Developer Guide.
Fields
add_header_action: Option<AddHeaderAction>
Adds a header to the received email.
bounce_action: Option<BounceAction>
Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
lambda_action: Option<LambdaAction>
Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.
s3_action: Option<S3Action>
Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.
sns_action: Option<SNSAction>
Publishes the email content within a notification to Amazon SNS.
stop_action: Option<StopAction>
Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
workmail_action: Option<WorkmailAction>
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.
Trait Implementations
sourceimpl Clone for ReceiptAction
impl Clone for ReceiptAction
sourcefn clone(&self) -> ReceiptAction
fn clone(&self) -> ReceiptAction
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 ReceiptAction
impl Debug for ReceiptAction
sourceimpl Default for ReceiptAction
impl Default for ReceiptAction
sourcefn default() -> ReceiptAction
fn default() -> ReceiptAction
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ReceiptAction> for ReceiptAction
impl PartialEq<ReceiptAction> for ReceiptAction
sourcefn eq(&self, other: &ReceiptAction) -> bool
fn eq(&self, other: &ReceiptAction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ReceiptAction) -> bool
fn ne(&self, other: &ReceiptAction) -> bool
This method tests for !=
.
impl StructuralPartialEq for ReceiptAction
Auto Trait Implementations
impl RefUnwindSafe for ReceiptAction
impl Send for ReceiptAction
impl Sync for ReceiptAction
impl Unpin for ReceiptAction
impl UnwindSafe for ReceiptAction
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