Struct aws_sdk_sesv2::types::Contact
source · #[non_exhaustive]pub struct Contact { /* private fields */ }Expand description
A contact is the end-user who is receiving the email.
Implementations§
source§impl Contact
impl Contact
sourcepub fn email_address(&self) -> Option<&str>
pub fn email_address(&self) -> Option<&str>
The contact's email address.
sourcepub fn topic_preferences(&self) -> Option<&[TopicPreference]>
pub fn topic_preferences(&self) -> Option<&[TopicPreference]>
The contact's preference for being opted-in to or opted-out of a topic.
sourcepub fn topic_default_preferences(&self) -> Option<&[TopicPreference]>
pub fn topic_default_preferences(&self) -> Option<&[TopicPreference]>
The default topic preferences applied to the contact.
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 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.