Struct mailchimp_api::types::ApiRoot
source · pub struct ApiRoot {Show 20 fields
pub links: Vec<Links>,
pub account_id: String,
pub account_industry: String,
pub account_name: String,
pub account_timezone: String,
pub avatar_url: String,
pub contact: Option<Contact>,
pub email: String,
pub first_name: String,
pub first_payment: Option<DateTime<Utc>>,
pub industry_stats: Option<IndustryStats>,
pub last_login: Option<DateTime<Utc>>,
pub last_name: String,
pub login_id: String,
pub member_since: Option<DateTime<Utc>>,
pub pricing_plan_type: Option<PricingPlanType>,
pub pro_enabled: bool,
pub role: String,
pub total_subscribers: i64,
pub username: String,
}
Expand description
The API root resource links to all other resources available in the API.
Fields
links: Vec<Links>
The API root resource links to all other resources available in the API.
account_id: String
The API root resource links to all other resources available in the API.
account_industry: String
The API root resource links to all other resources available in the API.
account_name: String
The API root resource links to all other resources available in the API.
account_timezone: String
The API root resource links to all other resources available in the API.
avatar_url: String
The API root resource links to all other resources available in the API.
contact: Option<Contact>
The API root resource links to all other resources available in the API.
email: String
The API root resource links to all other resources available in the API.
first_name: String
The API root resource links to all other resources available in the API.
first_payment: Option<DateTime<Utc>>
The API root resource links to all other resources available in the API.
industry_stats: Option<IndustryStats>
The API root resource links to all other resources available in the API.
last_login: Option<DateTime<Utc>>
The API root resource links to all other resources available in the API.
last_name: String
The API root resource links to all other resources available in the API.
login_id: String
The API root resource links to all other resources available in the API.
member_since: Option<DateTime<Utc>>
The API root resource links to all other resources available in the API.
pricing_plan_type: Option<PricingPlanType>
The API root resource links to all other resources available in the API.
pro_enabled: bool
The API root resource links to all other resources available in the API.
role: String
The API root resource links to all other resources available in the API.
total_subscribers: i64
The API root resource links to all other resources available in the API.
username: String
The API root resource links to all other resources available in the API.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for ApiRoot
impl<'de> Deserialize<'de> for ApiRoot
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
sourceimpl JsonSchema for ApiRoot
impl JsonSchema for ApiRoot
sourcefn schema_name() -> String
fn schema_name() -> String
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read more