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 ==
.impl StructuralPartialEq for DeliveryOptions
Auto Trait Implementations§
impl Freeze for DeliveryOptions
impl RefUnwindSafe for DeliveryOptions
impl Send for DeliveryOptions
impl Sync for DeliveryOptions
impl Unpin for DeliveryOptions
impl UnwindSafe for DeliveryOptions
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more