Struct aws_sdk_mailmanager::operation::get_relay::GetRelayOutput
source · #[non_exhaustive]pub struct GetRelayOutput {
pub relay_id: String,
pub relay_arn: Option<String>,
pub relay_name: Option<String>,
pub server_name: Option<String>,
pub server_port: Option<i32>,
pub authentication: Option<RelayAuthentication>,
pub created_timestamp: Option<DateTime>,
pub last_modified_timestamp: Option<DateTime>,
/* private fields */
}
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: String
The unique relay identifier.
relay_arn: Option<String>
The Amazon Resource Name (ARN) of the relay.
relay_name: Option<String>
The unique name of the relay.
server_name: Option<String>
The destination relay server address.
server_port: Option<i32>
The destination relay server port.
authentication: Option<RelayAuthentication>
The authentication attribute—contains the secret ARN where the customer relay server credentials are stored.
created_timestamp: Option<DateTime>
The timestamp of when the relay was created.
last_modified_timestamp: Option<DateTime>
The timestamp of when relay was last updated.
Implementations§
source§impl GetRelayOutput
impl GetRelayOutput
sourcepub fn relay_name(&self) -> Option<&str>
pub fn relay_name(&self) -> Option<&str>
The unique name of the relay.
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>
The authentication attribute—contains the secret ARN where the customer relay server credentials are stored.
sourcepub fn created_timestamp(&self) -> Option<&DateTime>
pub fn created_timestamp(&self) -> Option<&DateTime>
The timestamp of when the relay was created.
sourcepub fn last_modified_timestamp(&self) -> Option<&DateTime>
pub fn last_modified_timestamp(&self) -> Option<&DateTime>
The timestamp of when relay was last updated.
source§impl GetRelayOutput
impl GetRelayOutput
sourcepub fn builder() -> GetRelayOutputBuilder
pub fn builder() -> GetRelayOutputBuilder
Creates a new builder-style object to manufacture GetRelayOutput
.
Trait Implementations§
source§impl Clone for GetRelayOutput
impl Clone for GetRelayOutput
source§fn clone(&self) -> GetRelayOutput
fn clone(&self) -> GetRelayOutput
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 GetRelayOutput
impl Debug for GetRelayOutput
source§impl PartialEq for GetRelayOutput
impl PartialEq for GetRelayOutput
source§fn eq(&self, other: &GetRelayOutput) -> bool
fn eq(&self, other: &GetRelayOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetRelayOutput
impl RequestId for GetRelayOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for GetRelayOutput
Auto Trait Implementations§
impl Freeze for GetRelayOutput
impl RefUnwindSafe for GetRelayOutput
impl Send for GetRelayOutput
impl Sync for GetRelayOutput
impl Unpin for GetRelayOutput
impl UnwindSafe for GetRelayOutput
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.