#[non_exhaustive]pub struct SendNotificationActionDefinition {
pub delivery_method: NotificationDeliveryType,
pub subject: Option<String>,
pub content: String,
pub content_type: NotificationContentType,
pub recipient: Option<NotificationRecipientType>,
}
Expand description
Information about the send notification action.
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.delivery_method: NotificationDeliveryType
Notification delivery method.
subject: Option<String>
The subject of the email if the delivery method is EMAIL
. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
content: String
Notification content. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
content_type: NotificationContentType
Content type format.
recipient: Option<NotificationRecipientType>
Notification recipient.
Implementations§
source§impl SendNotificationActionDefinition
impl SendNotificationActionDefinition
sourcepub fn delivery_method(&self) -> &NotificationDeliveryType
pub fn delivery_method(&self) -> &NotificationDeliveryType
Notification delivery method.
sourcepub fn subject(&self) -> Option<&str>
pub fn subject(&self) -> Option<&str>
The subject of the email if the delivery method is EMAIL
. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
sourcepub fn content(&self) -> &str
pub fn content(&self) -> &str
Notification content. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
sourcepub fn content_type(&self) -> &NotificationContentType
pub fn content_type(&self) -> &NotificationContentType
Content type format.
sourcepub fn recipient(&self) -> Option<&NotificationRecipientType>
pub fn recipient(&self) -> Option<&NotificationRecipientType>
Notification recipient.
source§impl SendNotificationActionDefinition
impl SendNotificationActionDefinition
sourcepub fn builder() -> SendNotificationActionDefinitionBuilder
pub fn builder() -> SendNotificationActionDefinitionBuilder
Creates a new builder-style object to manufacture SendNotificationActionDefinition
.
Trait Implementations§
source§impl Clone for SendNotificationActionDefinition
impl Clone for SendNotificationActionDefinition
source§fn clone(&self) -> SendNotificationActionDefinition
fn clone(&self) -> SendNotificationActionDefinition
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for SendNotificationActionDefinition
impl PartialEq for SendNotificationActionDefinition
source§fn eq(&self, other: &SendNotificationActionDefinition) -> bool
fn eq(&self, other: &SendNotificationActionDefinition) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SendNotificationActionDefinition
Auto Trait Implementations§
impl Freeze for SendNotificationActionDefinition
impl RefUnwindSafe for SendNotificationActionDefinition
impl Send for SendNotificationActionDefinition
impl Sync for SendNotificationActionDefinition
impl Unpin for SendNotificationActionDefinition
impl UnwindSafe for SendNotificationActionDefinition
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more