Struct aws_sdk_pinpoint::model::InAppMessageCampaign
source · [−]#[non_exhaustive]pub struct InAppMessageCampaign {
pub campaign_id: Option<String>,
pub daily_cap: i32,
pub in_app_message: Option<InAppMessage>,
pub priority: i32,
pub schedule: Option<InAppCampaignSchedule>,
pub session_cap: i32,
pub total_cap: i32,
pub treatment_id: Option<String>,
}
Expand description
Targeted in-app message campaign.
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.campaign_id: Option<String>
Campaign id of the corresponding campaign.
daily_cap: i32
Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.
in_app_message: Option<InAppMessage>
In-app message content with all fields required for rendering an in-app message.
priority: i32
Priority of the in-app message.
schedule: Option<InAppCampaignSchedule>
Schedule of the campaign.
session_cap: i32
Session cap which controls the number of times an in-app message can be shown to the endpoint during an application session.
total_cap: i32
Total cap which controls the number of times an in-app message can be shown to the endpoint.
treatment_id: Option<String>
Treatment id of the campaign.
Implementations
Campaign id of the corresponding campaign.
Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.
In-app message content with all fields required for rendering an in-app message.
Schedule of the campaign.
Session cap which controls the number of times an in-app message can be shown to the endpoint during an application session.
Total cap which controls the number of times an in-app message can be shown to the endpoint.
Treatment id of the campaign.
Creates a new builder-style object to manufacture InAppMessageCampaign
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 InAppMessageCampaign
impl Send for InAppMessageCampaign
impl Sync for InAppMessageCampaign
impl Unpin for InAppMessageCampaign
impl UnwindSafe for InAppMessageCampaign
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