pub enum ReceiptAction {
S3 {
bucket_name: String,
object_key_prefix: Option<String>,
topic_arn: Option<String>,
kms_key_arn: Option<String>,
},
Sns {
topic_arn: String,
encoding: Option<String>,
},
Lambda {
function_arn: String,
invocation_type: Option<String>,
topic_arn: Option<String>,
},
Bounce {
smtp_reply_code: String,
message: String,
sender: String,
status_code: Option<String>,
topic_arn: Option<String>,
},
AddHeader {
header_name: String,
header_value: String,
},
Stop {
scope: String,
topic_arn: Option<String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for ReceiptAction
impl Clone for ReceiptAction
Source§fn clone(&self) -> ReceiptAction
fn clone(&self) -> ReceiptAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReceiptAction
impl Debug for ReceiptAction
Source§impl<'de> Deserialize<'de> for ReceiptAction
impl<'de> Deserialize<'de> for ReceiptAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ReceiptAction
impl RefUnwindSafe for ReceiptAction
impl Send for ReceiptAction
impl Sync for ReceiptAction
impl Unpin for ReceiptAction
impl UnsafeUnpin for ReceiptAction
impl UnwindSafe for ReceiptAction
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
Mutably borrows from an owned value. Read more