Struct mailchimp::Campaigns

source ·
pub struct Campaigns { /* private fields */ }
Expand description

Implement Mailchimp Campaigns Endpoint

Campaigns are how you send emails to your Mailchimp list. Use the Campaigns API calls to manage campaigns in your Mailchimp account.

Implementations

Argumentos: api: MailchimpApi

Get information about a specific list in your Mailchimp account. Results include list members who have signed up but haven’t confirmed their subscription yet and unsubscribed or cleaned.

Argumentos: campaign_id: The unique id for the campaign. filters: Filtros que se requieran aplicar a la hora de obtener las automatizaciones Estos filtros se deben pasar en forma de llave, valor donde las llaves puede ser cualquiera de los siguientes: fields: listado de campos deseados, separados por coma exclude_fields: listado de campos excluidos, separados por coma

Devuelve información de las listas creadas

Argumentos: filters: Filtros que se requieran aplicar a la hora de obtener las automatizaciones Estos filtros se deben pasar en forma de llave, valor donde las llaves puede ser cualquiera de los siguientes: fields: listado de campos deseados, separados por coma exclude_fields: listado de campos excluidos, separados por coma count: Número de registros a devolver offset: El número de registros de una colección a saltar before_date_created: Restrict response to lists created before the set date. since_date_created: Restrict results to lists created after the set date. before_campaign_last_sent: Restrict results to lists created before the last campaign send date. since_campaign_last_sent: Restrict results to lists created after the last campaign send date. email: Restrict results to lists that include a specific subscriber’s email address. sort_field: Returns files sorted by the specified field. sort_dir: Determines the order direction for sorted results. folder_id: The unique folder id. list_id: The unique id for the list.

Función para recorrer todas las campañas exitentes. A diferencia de la anterior esta función te devuelve un iterador

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.