[−][src]Struct mailchimp::Campaigns
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.
Methods
impl Campaigns
[src]
pub fn new(api: MailchimpApi) -> Self
[src]
mentos: api: MailchimpApi
pub fn get_campaign_info<'a>(
&self,
campaign_id: &'a str,
filters: HashMap<String, String>
) -> Result<CampaignType, MailchimpErrorType>
[src]
&self,
campaign_id: &'a str,
filters: HashMap<String, String>
) -> Result<CampaignType, 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: 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
pub fn get_campaigns(
&self,
filters: Option<&CampaignFilter>
) -> Option<CampaignsType>
[src]
&self,
filters: Option<&CampaignFilter>
) -> Option<CampaignsType>
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.
ⓘImportant traits for MalchimpIter<B>pub fn iter(&self, filters: CampaignFilter) -> MalchimpIter<CampaignsBuilder>
[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 Campaigns
impl !Send for Campaigns
impl !Sync for Campaigns
impl Unpin for Campaigns
impl UnwindSafe for Campaigns
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>,