Struct aws_sdk_pinpoint::model::InAppMessageContent
source · [−]#[non_exhaustive]pub struct InAppMessageContent {
pub background_color: Option<String>,
pub body_config: Option<InAppMessageBodyConfig>,
pub header_config: Option<InAppMessageHeaderConfig>,
pub image_url: Option<String>,
pub primary_btn: Option<InAppMessageButton>,
pub secondary_btn: Option<InAppMessageButton>,
}
Expand description
The configuration for the message content.
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.background_color: Option<String>
The background color for the message.
body_config: Option<InAppMessageBodyConfig>
The configuration for the message body.
header_config: Option<InAppMessageHeaderConfig>
The configuration for the message header.
image_url: Option<String>
The image url for the background of message.
primary_btn: Option<InAppMessageButton>
The first button inside the message.
secondary_btn: Option<InAppMessageButton>
The second button inside message.
Implementations
The background color for the message.
The configuration for the message body.
The configuration for the message header.
The first button inside the message.
The second button inside message.
Creates a new builder-style object to manufacture InAppMessageContent
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 InAppMessageContent
impl Send for InAppMessageContent
impl Sync for InAppMessageContent
impl Unpin for InAppMessageContent
impl UnwindSafe for InAppMessageContent
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