#[non_exhaustive]pub struct UpdateRelayInput {
pub relay_id: Option<String>,
pub relay_name: Option<String>,
pub server_name: Option<String>,
pub server_port: Option<i32>,
pub authentication: Option<RelayAuthentication>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.relay_id: Option<String>The unique relay identifier.
relay_name: Option<String>The 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.
Implementations§
source§impl UpdateRelayInput
impl UpdateRelayInput
sourcepub fn relay_name(&self) -> Option<&str>
pub fn relay_name(&self) -> Option<&str>
The 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.
source§impl UpdateRelayInput
impl UpdateRelayInput
sourcepub fn builder() -> UpdateRelayInputBuilder
pub fn builder() -> UpdateRelayInputBuilder
Creates a new builder-style object to manufacture UpdateRelayInput.
Trait Implementations§
source§impl Clone for UpdateRelayInput
impl Clone for UpdateRelayInput
source§fn clone(&self) -> UpdateRelayInput
fn clone(&self) -> UpdateRelayInput
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 UpdateRelayInput
impl Debug for UpdateRelayInput
source§impl PartialEq for UpdateRelayInput
impl PartialEq for UpdateRelayInput
source§fn eq(&self, other: &UpdateRelayInput) -> bool
fn eq(&self, other: &UpdateRelayInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateRelayInput
Auto Trait Implementations§
impl Freeze for UpdateRelayInput
impl RefUnwindSafe for UpdateRelayInput
impl Send for UpdateRelayInput
impl Sync for UpdateRelayInput
impl Unpin for UpdateRelayInput
impl UnwindSafe for UpdateRelayInput
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.