[−][src]Struct mailchimp::Lists
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]
&self,
param: ListParam
) -> Result<ListType, MailchimpErrorType>
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]
&self,
list_id: &'a str,
filters: HashMap<String, String>
) -> Result<ListType, MailchimpErrorType>
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]
&self,
filters: Option<&ListFilter>
) -> Option<ListsType>
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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,