[][src]Struct mailchimp::types::AutomationWorkflowType

pub struct AutomationWorkflowType {
    pub id: Option<String>,
    pub create_time: Option<String>,
    pub start_time: Option<String>,
    pub status: Option<String>,
    pub emails_sent: Option<u64>,
    pub recipients: Option<RecipientType>,
    pub settings: Option<AutomationCampaignSettingsType>,
    pub tracking: Option<AutomationTrackingOptionsType>,
    pub trigger_settings: Option<AutomationTriggerType>,
    pub report_summary: Option<CampaignReportSummaryType>,
    pub _links: Option<Vec<LinkType>>,
    pub _api: MailchimpApi,
}

Fields

id: Option<String>

A string that identifies the Automation.

create_time: Option<String>

Desc: The date and time the Automation was created in ISO 8601 format.

start_time: Option<String>

Desc: The date and time the Automation was started in ISO 8601 format.

status: Option<String>

Desc: The current status of the Automation.

emails_sent: Option<u64>

Desc: The total number of emails sent for the Automation.

recipients: Option<RecipientType>

Desc: List settings for the Automation.

settings: Option<AutomationCampaignSettingsType>

Desc: The settings for the Automation workflow.

tracking: Option<AutomationTrackingOptionsType>

Desc: The tracking options for the Automation.

trigger_settings: Option<AutomationTriggerType>

Desc: Available triggers for Automation workflows.

report_summary: Option<CampaignReportSummaryType>

Desc: A summary of opens, clicks, and unsubscribes for sent campaigns.

_links: Option<Vec<LinkType>>

Desc: A list of link types and descriptions for the API schema documents.

_api: MailchimpApi

Mailchimp APi

Methods

impl AutomationWorkflowType[src]

pub fn pause_all_emails(&self) -> Option<MailchimpErrorType>[src]

Detiene todos los emails para esta automatización

En caso de ser satisfactoria la ejecución, devuelve None, en caso contrario devuelve el error, con su respectiva descripción

pub fn start_all_emails(&self) -> Option<MailchimpErrorType>[src]

Inicia todos los emails para esta automatización

En caso de ser satisfactoria la ejecución, devuelve None, en caso contrario devuelve el error, con su respectiva descripción

pub fn remote_update<'a>(
    &self,
    settings: Option<AutomationCampaignSettingsType>,
    delay: Option<AutomationDelayType>
) -> Result<Self, MailchimpErrorType>
[src]

Actualiza la automatización y devuelve una instancia nueva

Argumentos: settings: Configuracion de la automatización a crear delay: Ajustes de retraso para un correo electrónico de automatización.

pub fn get_workflow_emails(
    &self
) -> Result<Vec<WorkflowEmailType>, MailchimpErrorType>
[src]

============= EMAILS ============================

Devuelve una lista de los emails automatizados

pub fn update_workflow_email<'a>(
    &self,
    workflow_email_id: &'a str,
    settings: &AutomationCampaignSettingsType,
    delay: &AutomationDelayType
) -> Result<WorkflowEmailType, MailchimpErrorType>
[src]

Update settings for a Automation workflow email, and return the Automation workflow email Updated

Argumentos: campaign_id: The unique id for the campaign. settings: Settings for the campaign including the email subject, from name, and from email address. delay: The delay settings for an automation email.

pub fn delete_automation_workflow_email<'a>(
    &self,
    workflow_email_id: &'a str
) -> Option<MailchimpErrorType>
[src]

Removes an individual Automation workflow email. Emails from certain workflow types, including the Abandoned Cart Email (abandonedCart) and Product Retargeting Email (abandonedBrowse) Workflows, cannot be deleted.

Argumentos: workflow_email_id: The unique id for the Automation workflow email.

pub fn get_automation_workflow_email_info<'a>(
    &self,
    workflow_email_id: &'a str
) -> Result<WorkflowEmailType, MailchimpErrorType>
[src]

Devuelve la informacion sobre un flujo de trabajos de automatizacion de emails

Argumentos: workflow_email_id: Identificador único de la automatización

Important traits for MalchimpIter<B>
pub fn get_subscribers_removed(
    &self
) -> MalchimpIter<AutomationSubscriberBuilder>
[src]

View all subscribers removed from a workflow

Return Iterator

pub fn add_subscriber_to_workflow<'a>(
    &self,
    email_address: &'a str
) -> Result<AutomationSubscriberType, MailchimpErrorType>
[src]

Remove a subscriber from a specific Automation workflow. You can remove a subscriber at any point in an Automation workflow, regardless of how many emails they’ve been sent from that workflow. Once they’re removed, they can never be added back to the same workflow.

Arguments: email_address: The list member’s email address.

Trait Implementations

impl MailchimpCollection<AutomationWorkflowType> for CollectionAutomation[src]

fn get_total_items(&self) -> u64[src]

Total Items

fn get_values(&self) -> Vec<AutomationWorkflowType>[src]

Data

impl Clone for AutomationWorkflowType[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for AutomationWorkflowType[src]

impl Serialize for AutomationWorkflowType[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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<T> Any for T where
    T: 'static + ?Sized
[src]

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

impl<T> Erased for T

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

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