Struct aws_sdk_ses::model::ReceiptFilter
source · #[non_exhaustive]pub struct ReceiptFilter { /* private fields */ }
Expand description
A receipt IP address filter enables you to specify whether to accept or reject mail originating from an IP address or range of IP addresses.
For information about setting up IP address filters, see the Amazon SES Developer Guide.
Implementations§
source§impl ReceiptFilter
impl ReceiptFilter
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the IP address filter. The name must:
-
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
-
Start and end with a letter or number.
-
Contain less than 64 characters.
sourcepub fn ip_filter(&self) -> Option<&ReceiptIpFilter>
pub fn ip_filter(&self) -> Option<&ReceiptIpFilter>
A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
source§impl ReceiptFilter
impl ReceiptFilter
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReceiptFilter
.
Trait Implementations§
source§impl Clone for ReceiptFilter
impl Clone for ReceiptFilter
source§fn clone(&self) -> ReceiptFilter
fn clone(&self) -> ReceiptFilter
Returns a copy 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 ReceiptFilter
impl Debug for ReceiptFilter
source§impl PartialEq<ReceiptFilter> for ReceiptFilter
impl PartialEq<ReceiptFilter> for ReceiptFilter
source§fn eq(&self, other: &ReceiptFilter) -> bool
fn eq(&self, other: &ReceiptFilter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.