Struct aws_sdk_pinpoint::model::InAppTemplateRequest
source · [−]#[non_exhaustive]pub struct InAppTemplateRequest {
pub content: Option<Vec<InAppMessageContent>>,
pub custom_config: Option<HashMap<String, String>>,
pub layout: Option<Layout>,
pub tags: Option<HashMap<String, String>>,
pub template_description: Option<String>,
}
Expand description
InApp Template Request.
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.content: Option<Vec<InAppMessageContent>>
The content of the message, can include up to 5 modals. Each modal must contain a message, a header, and background color. ImageUrl and buttons are optional.
custom_config: Option<HashMap<String, String>>
Custom config to be sent to client.
layout: Option<Layout>
The layout of the message.
A string-to-string map of key-value pairs that defines the tags to associate with the message template. Each tag consists of a required tag key and an associated tag value.
template_description: Option<String>
The description of the template.
Implementations
The content of the message, can include up to 5 modals. Each modal must contain a message, a header, and background color. ImageUrl and buttons are optional.
Custom config to be sent to client.
A string-to-string map of key-value pairs that defines the tags to associate with the message template. Each tag consists of a required tag key and an associated tag value.
The description of the template.
Creates a new builder-style object to manufacture InAppTemplateRequest
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 InAppTemplateRequest
impl Send for InAppTemplateRequest
impl Sync for InAppTemplateRequest
impl Unpin for InAppTemplateRequest
impl UnwindSafe for InAppTemplateRequest
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