Struct aws_sdk_ses::input::CreateReceiptRuleInput
source · [−]#[non_exhaustive]pub struct CreateReceiptRuleInput {
pub rule_set_name: Option<String>,
pub after: Option<String>,
pub rule: Option<ReceiptRule>,
}
Expand description
Represents a request to create a receipt rule. You use receipt rules to receive email with Amazon SES. For more information, 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.rule_set_name: Option<String>
The name of the rule set that the receipt rule will be added to.
after: Option<String>
The name of an existing rule after which the new rule will be placed. If this parameter is null, the new rule will be inserted at the beginning of the rule list.
rule: Option<ReceiptRule>
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
Implementations
sourceimpl CreateReceiptRuleInput
impl CreateReceiptRuleInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateReceiptRule, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateReceiptRule, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateReceiptRule
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateReceiptRuleInput
sourceimpl CreateReceiptRuleInput
impl CreateReceiptRuleInput
sourcepub fn rule_set_name(&self) -> Option<&str>
pub fn rule_set_name(&self) -> Option<&str>
The name of the rule set that the receipt rule will be added to.
sourcepub fn after(&self) -> Option<&str>
pub fn after(&self) -> Option<&str>
The name of an existing rule after which the new rule will be placed. If this parameter is null, the new rule will be inserted at the beginning of the rule list.
sourcepub fn rule(&self) -> Option<&ReceiptRule>
pub fn rule(&self) -> Option<&ReceiptRule>
A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
Trait Implementations
sourceimpl Clone for CreateReceiptRuleInput
impl Clone for CreateReceiptRuleInput
sourcefn clone(&self) -> CreateReceiptRuleInput
fn clone(&self) -> CreateReceiptRuleInput
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 CreateReceiptRuleInput
impl Debug for CreateReceiptRuleInput
sourceimpl PartialEq<CreateReceiptRuleInput> for CreateReceiptRuleInput
impl PartialEq<CreateReceiptRuleInput> for CreateReceiptRuleInput
sourcefn eq(&self, other: &CreateReceiptRuleInput) -> bool
fn eq(&self, other: &CreateReceiptRuleInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateReceiptRuleInput) -> bool
fn ne(&self, other: &CreateReceiptRuleInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateReceiptRuleInput
Auto Trait Implementations
impl RefUnwindSafe for CreateReceiptRuleInput
impl Send for CreateReceiptRuleInput
impl Sync for CreateReceiptRuleInput
impl Unpin for CreateReceiptRuleInput
impl UnwindSafe for CreateReceiptRuleInput
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> 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