[][src]Struct mailchimp::types::ApiRootType

pub struct ApiRootType {
    pub account_id: String,
    pub login_id: String,
    pub account_name: String,
    pub email: String,
    pub first_name: String,
    pub last_name: String,
    pub username: String,
    pub avatar_url: String,
    pub role: String,
    pub member_since: String,
    pub pricing_plan_type: String,
    pub first_payment: String,
    pub account_timezone: String,
    pub account_industry: String,
    pub contact: ContactType,
    pub pro_enabled: bool,
    pub last_login: String,
    pub total_subscribers: u64,
    pub industry_stats: IndustryStatsType,
    pub _links: Vec<LinkType>,
}

Fields

account_id: String

The Mailchimp account ID, used for features like list subscribe forms.

login_id: String

The ID associated with the user who owns this API key. If you can login to multiple accounts, this ID will be the same for each account.

account_name: String

The name of the account.

email: String

The account email address.

first_name: String

The first name tied to the account.

last_name: String

The last name tied to the account.

username: String

The username tied to the account.

avatar_url: String

URL of the avatar for the user.

role: String

The user role for the account.

member_since: String

The date and time that the account was created in ISO 8601 format.

pricing_plan_type: String

The type of pricing plan the account is on. Possible Values: monthly pay_as_you_go forever_free

first_payment: String

Date of first payment for monthly plans.

account_timezone: String

The timezone currently set for the account.

account_industry: String

The user-specified industry associated with the account.

contact: ContactType

Information about the account contact.

pro_enabled: bool

Whether the account includes Mailchimp Pro.

last_login: String

The date and time of the last login for this account in ISO 8601 format.

total_subscribers: u64

The total number of subscribers across all lists in the account.

industry_stats: IndustryStatsType

The average campaign statistics for all campaigns in the account’s specified industry.

_links: Vec<LinkType>

The average campaign statistics for all campaigns in the account’s specified industry.

Trait Implementations

impl Clone for ApiRootType[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ApiRootType[src]

impl Serialize for ApiRootType[src]

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

Auto Trait Implementations

impl Send for ApiRootType

impl Sync for ApiRootType

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err