Struct aws_sdk_sesv2::types::TopicPreference
source · #[non_exhaustive]pub struct TopicPreference { /* private fields */ }Expand description
The contact's preference for being opted-in to or opted-out of a topic.
Implementations§
source§impl TopicPreference
impl TopicPreference
sourcepub fn topic_name(&self) -> Option<&str>
pub fn topic_name(&self) -> Option<&str>
The name of the topic.
sourcepub fn subscription_status(&self) -> Option<&SubscriptionStatus>
pub fn subscription_status(&self) -> Option<&SubscriptionStatus>
The contact's subscription status to a topic which is either OPT_IN or OPT_OUT.
source§impl TopicPreference
impl TopicPreference
sourcepub fn builder() -> TopicPreferenceBuilder
pub fn builder() -> TopicPreferenceBuilder
Creates a new builder-style object to manufacture TopicPreference.
Trait Implementations§
source§impl Clone for TopicPreference
impl Clone for TopicPreference
source§fn clone(&self) -> TopicPreference
fn clone(&self) -> TopicPreference
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 TopicPreference
impl Debug for TopicPreference
source§impl PartialEq<TopicPreference> for TopicPreference
impl PartialEq<TopicPreference> for TopicPreference
source§fn eq(&self, other: &TopicPreference) -> bool
fn eq(&self, other: &TopicPreference) -> bool
This method tests for
self and other values to be equal, and is used
by ==.