[][src]Struct mailchimp::types::ListMemberParams

pub struct ListMemberParams {
    pub email_address: Option<String>,
    pub status_if_new: Option<String>,
    pub email_type: Option<String>,
    pub status: Option<String>,
    pub merge_fields: Option<HashMap<String, String>>,
    pub interests: Option<HashMap<String, String>>,
    pub language: Option<String>,
    pub vip: Option<bool>,
    pub location: Option<SubscriberLocation>,
    pub marketing_permissions: Option<Vec<ListMarketingPermision>>,
    pub tags_count: Option<u64>,
    pub tags: Option<Vec<String>>,
    pub ip_signup: Option<String>,
    pub timestamp_signup: Option<String>,
    pub ip_opt: Option<String>,
    pub timestamp_opt: Option<String>,
}

ListMemberParams

Fields

email_address: Option<String>

Email address for a subscriber.

status_if_new: Option<String>

Subscriber’s status. This value is required only if the email address is not already present on the list. Possible Values: * subscribed * unsubscribed * cleaned * pending * transactional

email_type: Option<String>

Type of email this member asked to get (‘html’ or ‘text’).

status: Option<String>

Subscriber’s current status.

merge_fields: Option<HashMap<String, String>>

An individual merge var and value for a member.

interests: Option<HashMap<String, String>>

The key of this object’s properties is the ID of the interest in question.

language: Option<String>

If set/detected, the subscriber’s language.

vip: Option<bool>

VIP status for subscriber.

location: Option<SubscriberLocation>

location

marketing_permissions: Option<Vec<ListMarketingPermision>>

The marketing permissions for the subscriber.

tags_count: Option<u64>

The number of tags applied to this member.

tags: Option<Vec<String>>

The tags applied to this member.

ip_signup: Option<String>

IP address the subscriber signed up from.

timestamp_signup: Option<String>

The date and time the subscriber signed up for the list in ISO 8601 format.

ip_opt: Option<String>

The IP address the subscriber used to confirm their opt-in status.

timestamp_opt: Option<String>

The date and time the subscribe confirmed their opt-in status in ISO 8601 format.

Trait Implementations

impl Clone for ListMemberParams[src]

impl Debug for ListMemberParams[src]

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

impl Serialize for ListMemberParams[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.