Struct aws_sdk_sesv2::types::Topic
source · #[non_exhaustive]pub struct Topic {
pub topic_name: String,
pub display_name: String,
pub description: Option<String>,
pub default_subscription_status: SubscriptionStatus,
}Expand description
An interest group, theme, or label within a list. Lists can have multiple topics.
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: StringThe name of the topic.
display_name: StringThe name of the topic the contact will see.
description: Option<String>A description of what the topic is about, which the contact will see.
default_subscription_status: SubscriptionStatusThe default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.
Implementations§
source§impl Topic
impl Topic
sourcepub fn topic_name(&self) -> &str
pub fn topic_name(&self) -> &str
The name of the topic.
sourcepub fn display_name(&self) -> &str
pub fn display_name(&self) -> &str
The name of the topic the contact will see.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of what the topic is about, which the contact will see.
sourcepub fn default_subscription_status(&self) -> &SubscriptionStatus
pub fn default_subscription_status(&self) -> &SubscriptionStatus
The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.
Trait Implementations§
source§impl PartialEq for Topic
impl PartialEq for Topic
impl StructuralPartialEq for Topic
Auto Trait Implementations§
impl RefUnwindSafe for Topic
impl Send for Topic
impl Sync for Topic
impl Unpin for Topic
impl UnwindSafe for Topic
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.