[][src]Struct mailchimp::types::RecipientType

pub struct RecipientType {
    pub list_id: Option<String>,
    pub list_is_active: Option<bool>,
    pub list_name: Option<String>,
    pub segment_text: Option<String>,
    pub recipient_count: Option<u64>,
    pub segment_opts: Option<SegmentOptionsType>,
    pub store_id: Option<String>,
}

Recipient Type

Fields

list_id: Option<String>

The unique list id.

list_is_active: Option<bool>

Desc: The status of the list used, namely if it’s deleted or disabled.

list_name: Option<String>

Desc: List Name.

segment_text: Option<String>

Desc: A description of the segment used for the campaign. Formatted as a string marked up with HTML.

recipient_count: Option<u64>

Desc: Count of the recipients on the associated list. Formatted as an integer..

segment_opts: Option<SegmentOptionsType>

Desc: An object representing all segmentation options.

store_id: Option<String>

Desc: The id of the store.

Methods

impl RecipientType[src]

pub fn create<'a>(list_id: &'a str, store_id: &'a str) -> Self[src]

Función de ayuda para el proceso creación de una automatización

Argumentos: list_id: Id de la lista store_id: Id de la store

Trait Implementations

impl Clone for RecipientType[src]

impl Debug for RecipientType[src]

impl Default for RecipientType[src]

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

impl Serialize for RecipientType[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[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.