#[non_exhaustive]pub struct CreateRelayInput {
pub client_token: Option<String>,
pub relay_name: Option<String>,
pub server_name: Option<String>,
pub server_port: Option<i32>,
pub authentication: Option<RelayAuthentication>,
pub tags: Option<Vec<Tag>>,
}
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.client_token: Option<String>
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
relay_name: Option<String>
The unique name of the relay resource.
server_name: Option<String>
The destination relay server address.
server_port: Option<i32>
The destination relay server port.
authentication: Option<RelayAuthentication>
Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Implementations§
source§impl CreateRelayInput
impl CreateRelayInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
sourcepub fn relay_name(&self) -> Option<&str>
pub fn relay_name(&self) -> Option<&str>
The unique name of the relay resource.
sourcepub fn server_name(&self) -> Option<&str>
pub fn server_name(&self) -> Option<&str>
The destination relay server address.
sourcepub fn server_port(&self) -> Option<i32>
pub fn server_port(&self) -> Option<i32>
The destination relay server port.
sourcepub fn authentication(&self) -> Option<&RelayAuthentication>
pub fn authentication(&self) -> Option<&RelayAuthentication>
Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateRelayInput
impl CreateRelayInput
sourcepub fn builder() -> CreateRelayInputBuilder
pub fn builder() -> CreateRelayInputBuilder
Creates a new builder-style object to manufacture CreateRelayInput
.
Trait Implementations§
source§impl Clone for CreateRelayInput
impl Clone for CreateRelayInput
source§fn clone(&self) -> CreateRelayInput
fn clone(&self) -> CreateRelayInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateRelayInput
impl Debug for CreateRelayInput
source§impl PartialEq for CreateRelayInput
impl PartialEq for CreateRelayInput
source§fn eq(&self, other: &CreateRelayInput) -> bool
fn eq(&self, other: &CreateRelayInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateRelayInput
Auto Trait Implementations§
impl Freeze for CreateRelayInput
impl RefUnwindSafe for CreateRelayInput
impl Send for CreateRelayInput
impl Sync for CreateRelayInput
impl Unpin for CreateRelayInput
impl UnwindSafe for CreateRelayInput
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