Struct aws_sdk_ses::types::DeliveryOptions
source · #[non_exhaustive]pub struct DeliveryOptions {
pub tls_policy: Option<TlsPolicy>,
}
Expand description
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).
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.tls_policy: Option<TlsPolicy>
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require
, messages are only delivered if a TLS connection can be established. If the value is Optional
, messages can be delivered in plain text if a TLS connection can't be established.
Implementations§
source§impl DeliveryOptions
impl DeliveryOptions
sourcepub fn tls_policy(&self) -> Option<&TlsPolicy>
pub fn tls_policy(&self) -> Option<&TlsPolicy>
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require
, messages are only delivered if a TLS connection can be established. If the value is Optional
, messages can be delivered in plain text if a TLS connection can't be established.
source§impl DeliveryOptions
impl DeliveryOptions
sourcepub fn builder() -> DeliveryOptionsBuilder
pub fn builder() -> DeliveryOptionsBuilder
Creates a new builder-style object to manufacture DeliveryOptions
.
Trait Implementations§
source§impl Clone for DeliveryOptions
impl Clone for DeliveryOptions
source§fn clone(&self) -> DeliveryOptions
fn clone(&self) -> DeliveryOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeliveryOptions
impl Debug for DeliveryOptions
source§impl PartialEq for DeliveryOptions
impl PartialEq for DeliveryOptions
source§fn eq(&self, other: &DeliveryOptions) -> bool
fn eq(&self, other: &DeliveryOptions) -> bool
self
and other
values to be equal, and is used
by ==
.