Struct aws_sdk_sesv2::input::CreateContactInput
source ·
[−]#[non_exhaustive]pub struct CreateContactInput {
pub contact_list_name: Option<String>,
pub email_address: Option<String>,
pub topic_preferences: Option<Vec<TopicPreference>>,
pub unsubscribe_all: bool,
pub attributes_data: Option<String>,
}
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 should be added.
email_address: Option<String>
The contact's email address.
topic_preferences: Option<Vec<TopicPreference>>
The contact's preferences for being opted-in to or opted-out of topics.
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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateContact, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateContact, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateContact
>
Creates a new builder-style object to manufacture CreateContactInput
The name of the contact list to which the contact should be added.
The contact's email address.
The contact's preferences for being opted-in to or opted-out of topics.
A boolean value status noting if the contact is unsubscribed from all contact list topics.
The attribute data attached to a contact.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateContactInput
impl Send for CreateContactInput
impl Sync for CreateContactInput
impl Unpin for CreateContactInput
impl UnwindSafe for CreateContactInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more