Struct aws_sdk_sesv2::model::TopicPreference
source ·
[−]#[non_exhaustive]pub struct TopicPreference {
pub topic_name: Option<String>,
pub subscription_status: Option<SubscriptionStatus>,
}
Expand description
The contact's preference for being opted-in to or opted-out of a topic.
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.topic_name: Option<String>
The name of the topic.
subscription_status: Option<SubscriptionStatus>
The contact's subscription status to a topic which is either OPT_IN
or OPT_OUT
.
Implementations
The name of the topic.
The contact's subscription status to a topic which is either OPT_IN
or OPT_OUT
.
Creates a new builder-style object to manufacture TopicPreference
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 TopicPreference
impl Send for TopicPreference
impl Sync for TopicPreference
impl Unpin for TopicPreference
impl UnwindSafe for TopicPreference
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