Struct aws_sdk_sesv2::operation::update_contact::UpdateContactInput
source · #[non_exhaustive]pub struct UpdateContactInput {
pub contact_list_name: Option<String>,
pub email_address: Option<String>,
pub topic_preferences: Option<Vec<TopicPreference>>,
pub unsubscribe_all: Option<bool>,
pub attributes_data: Option<String>,
}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.contact_list_name: Option<String>The name of the contact list.
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.
unsubscribe_all: Option<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.
Implementations§
source§impl UpdateContactInput
impl UpdateContactInput
sourcepub fn contact_list_name(&self) -> Option<&str>
pub fn contact_list_name(&self) -> Option<&str>
The name of the contact list.
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 unsubscribe_all(&self) -> Option<bool>
pub fn unsubscribe_all(&self) -> Option<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.
source§impl UpdateContactInput
impl UpdateContactInput
sourcepub fn builder() -> UpdateContactInputBuilder
pub fn builder() -> UpdateContactInputBuilder
Creates a new builder-style object to manufacture UpdateContactInput.
Trait Implementations§
source§impl Clone for UpdateContactInput
impl Clone for UpdateContactInput
source§fn clone(&self) -> UpdateContactInput
fn clone(&self) -> UpdateContactInput
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 UpdateContactInput
impl Debug for UpdateContactInput
source§impl PartialEq for UpdateContactInput
impl PartialEq for UpdateContactInput
source§fn eq(&self, other: &UpdateContactInput) -> bool
fn eq(&self, other: &UpdateContactInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateContactInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateContactInput
impl Send for UpdateContactInput
impl Sync for UpdateContactInput
impl Unpin for UpdateContactInput
impl UnwindSafe for UpdateContactInput
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>
Creates a shared type from an unshared type.