Struct aws_sdk_sesv2::operation::get_contact::GetContactOutput
source · #[non_exhaustive]pub struct GetContactOutput {
pub contact_list_name: Option<String>,
pub email_address: Option<String>,
pub topic_preferences: Option<Vec<TopicPreference>>,
pub topic_default_preferences: Option<Vec<TopicPreference>>,
pub unsubscribe_all: bool,
pub attributes_data: Option<String>,
pub created_timestamp: Option<DateTime>,
pub last_updated_timestamp: Option<DateTime>,
/* private fields */
}
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.contact_list_name: Option<String>
The name of the contact list to which the contact belongs.
email_address: Option<String>
The contact's email address.
topic_preferences: Option<Vec<TopicPreference>>
The contact's preference for being opted-in to or opted-out of a topic.>
topic_default_preferences: Option<Vec<TopicPreference>>
The default topic preferences applied to the contact.
unsubscribe_all: bool
A boolean value status noting if the contact is unsubscribed from all contact list topics.
attributes_data: Option<String>
The attribute data attached to a contact.
created_timestamp: Option<DateTime>
A timestamp noting when the contact was created.
last_updated_timestamp: Option<DateTime>
A timestamp noting the last time the contact's information was updated.
Implementations§
source§impl GetContactOutput
impl GetContactOutput
sourcepub fn contact_list_name(&self) -> Option<&str>
pub fn contact_list_name(&self) -> Option<&str>
The name of the contact list to which the contact belongs.
sourcepub fn email_address(&self) -> Option<&str>
pub fn email_address(&self) -> Option<&str>
The contact's email address.
sourcepub fn topic_preferences(&self) -> &[TopicPreference]
pub fn topic_preferences(&self) -> &[TopicPreference]
The contact's preference for being opted-in to or opted-out of a topic.>
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .topic_preferences.is_none()
.
sourcepub fn topic_default_preferences(&self) -> &[TopicPreference]
pub fn topic_default_preferences(&self) -> &[TopicPreference]
The default topic preferences applied to the contact.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .topic_default_preferences.is_none()
.
sourcepub fn unsubscribe_all(&self) -> bool
pub fn unsubscribe_all(&self) -> bool
A boolean value status noting if the contact is unsubscribed from all contact list topics.
sourcepub fn attributes_data(&self) -> Option<&str>
pub fn attributes_data(&self) -> Option<&str>
The attribute data attached to a contact.
sourcepub fn created_timestamp(&self) -> Option<&DateTime>
pub fn created_timestamp(&self) -> Option<&DateTime>
A timestamp noting when the contact was created.
sourcepub fn last_updated_timestamp(&self) -> Option<&DateTime>
pub fn last_updated_timestamp(&self) -> Option<&DateTime>
A timestamp noting the last time the contact's information was updated.
source§impl GetContactOutput
impl GetContactOutput
sourcepub fn builder() -> GetContactOutputBuilder
pub fn builder() -> GetContactOutputBuilder
Creates a new builder-style object to manufacture GetContactOutput
.
Trait Implementations§
source§impl Clone for GetContactOutput
impl Clone for GetContactOutput
source§fn clone(&self) -> GetContactOutput
fn clone(&self) -> GetContactOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetContactOutput
impl Debug for GetContactOutput
source§impl PartialEq for GetContactOutput
impl PartialEq for GetContactOutput
source§fn eq(&self, other: &GetContactOutput) -> bool
fn eq(&self, other: &GetContactOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetContactOutput
impl RequestId for GetContactOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetContactOutput
Auto Trait Implementations§
impl Freeze for GetContactOutput
impl RefUnwindSafe for GetContactOutput
impl Send for GetContactOutput
impl Sync for GetContactOutput
impl Unpin for GetContactOutput
impl UnwindSafe for GetContactOutput
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