[][src]Struct mailchimp::types::AutomationCampaignSettingsType

pub struct AutomationCampaignSettingsType {
    pub subject_line: Option<String>,
    pub preview_text: Option<String>,
    pub title: Option<String>,
    pub from_name: Option<String>,
    pub reply_to: Option<String>,
    pub authenticate: Option<bool>,
    pub use_conversation: Option<bool>,
    pub to_name: Option<String>,
    pub folder_id: Option<String>,
    pub auto_footer: Option<bool>,
    pub inline_css: Option<bool>,
    pub auto_tweet: Option<bool>,
    pub auto_fb_post: Option<Vec<u64>>,
    pub fb_comments: Option<bool>,
    pub timewarp: Option<bool>,
    pub template_id: Option<u64>,
    pub drag_and_drop: Option<bool>,
}

Automation Campaign Settings

Fields

subject_line: Option<String>

The subject line for the campaign.

preview_text: Option<String>

The preview text for the campaign.

title: Option<String>

The title of the Automation.

from_name: Option<String>

Desc: The ‘from’ name for the Automation (not an email address).

reply_to: Option<String>

Desc: The reply-to email address for the Automation.

authenticate: Option<bool>

Desc: Whether Mailchimp authenticated the Automation. Defaults to true.

use_conversation: Option<bool>

Desc: Whether to use Mailchimp’s Conversations feature to manage out-of-office replies.

to_name: Option<String>

Desc: The Automation’s custom ‘To’ name, typically the first name merge field.

folder_id: Option<String>

Desc: If the campaign is listed in a folder, the id for that folder.

auto_footer: Option<bool>

Desc: Whether to automatically append Mailchimp’s default footer to the Automation.

inline_css: Option<bool>

Desc: Whether to automatically inline the CSS included with the Automation content.

auto_tweet: Option<bool>

Automatically tweet a link to the campaign archive page when the campaign is sent.

auto_fb_post: Option<Vec<u64>>

An array of Facebook page ids to auto-post to.

fb_comments: Option<bool>

Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to true.

timewarp: Option<bool>

Send this campaign using Timewarp.

template_id: Option<u64>

Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to true.

drag_and_drop: Option<bool>

Whether the campaign uses the drag-and-drop editor.

Methods

impl AutomationCampaignSettingsType[src]

pub fn create<'a>(from_name: &'a str, reply_to: &'a str) -> Self[src]

Shortcut para el proceso de creación de una automatización

Argumentos: from_name: El ‘from’ para la automatización. reply_to: La dirección de corrreo para la automatización, reply-to.

pub fn update<'a>(title: &'a str, from_name: &'a str, reply_to: &'a str) -> Self[src]

Shortcut para el proceso de creación de una automatización

Argumentos: title: Titulo de la automatizacion from_name: El ‘from’ para la automatización. reply_to: La dirección de corrreo para la automatización, reply-to.

Trait Implementations

impl Clone for AutomationCampaignSettingsType[src]

impl Debug for AutomationCampaignSettingsType[src]

impl Default for AutomationCampaignSettingsType[src]

impl<'de> Deserialize<'de> for AutomationCampaignSettingsType[src]

impl Serialize for AutomationCampaignSettingsType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,