[][src]Struct mailchimp::Lists

pub struct Lists { /* fields omitted */ }

Implement Mailchimp Lists Endpoint

A Mailchimp list is a powerful and flexible tool that helps you manage your contacts. Learn how to get started with lists in Mailchimp.

Methods

impl Lists[src]

pub fn new(api: MailchimpApi) -> Self[src]

mentos: api: MailchimpApi

pub fn create_list(
    &self,
    param: ListParam
) -> Result<ListType, MailchimpErrorType>
[src]

Create a new list in your Mailchimp account.

pub fn get_list_info<'a>(
    &self,
    list_id: &'a str,
    filters: HashMap<String, String>
) -> Result<ListType, MailchimpErrorType>
[src]

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: list_id: The unique id for the list. 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

pub fn get_campaigns_from_remote(
    &self,
    filters: Option<&ListFilter>
) -> Option<ListsType>
[src]

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.

Important traits for MalchimpIter<B>
pub fn iter(&self, filters: ListFilter) -> MalchimpIter<ListsBuilder>[src]

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

Trait Implementations

impl Clone for Lists[src]

impl Debug for Lists[src]

Auto Trait Implementations

impl !RefUnwindSafe for Lists

impl !Send for Lists

impl !Sync for Lists

impl Unpin for Lists

impl UnwindSafe for Lists

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> 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.