pub struct EmailWarmUp {
pub stages: Option<Vec<EmailWarmUpStage>>,
pub strategy: Option<StrategyType>,
pub status: Option<StatusType>,
pub is_live: Option<bool>,
}Expand description
EmailWarmUp : Channel: Email Present only when this notification’s kind is "warmup". The Auto Warm Up campaign’s stage schedule, scheduling strategy, and live status.
Fields§
§stages: Option<Vec<EmailWarmUpStage>>The campaign’s sending schedule, stage by stage.
strategy: Option<StrategyType>How the stage schedule was produced: * recommended - OneSignal generated (and may still adjust) the schedule based on past delivery volumes, scheduled Auto Warm Up emails, and the size of the current audience. * custom - The stages were provided as-is in the create request.
status: Option<StatusType>Current status of the campaign: * initializing - The stages have been submitted and the schedule is being set up. * draft - The campaign has been created but has not started sending. * active - The campaign is currently working through its stages. * finished - All stages have completed. * canceled - The campaign was canceled before finishing.
is_live: Option<bool>Whether the campaign is currently live (actively sending).
Implementations§
Source§impl EmailWarmUp
impl EmailWarmUp
Sourcepub fn new() -> EmailWarmUp
pub fn new() -> EmailWarmUp
Channel: Email Present only when this notification’s kind is "warmup". The Auto Warm Up campaign’s stage schedule, scheduling strategy, and live status.
Trait Implementations§
Source§impl Clone for EmailWarmUp
impl Clone for EmailWarmUp
Source§fn clone(&self) -> EmailWarmUp
fn clone(&self) -> EmailWarmUp
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more