pub struct CreateUser {Show 18 fields
pub username: String,
pub password: String,
pub gender: UserGender,
pub birth_year: u32,
pub zip_code: String,
pub email_opt_in: bool,
pub country_code: String,
pub account_type: String,
pub registered_type: String,
pub include_pandora_one_info: bool,
pub include_account_message: bool,
pub return_collect_track_lifetime_stats: bool,
pub return_is_subscriber: bool,
pub xplatform_ad_capable: bool,
pub include_facebook: bool,
pub include_googleplay: bool,
pub include_show_user_recommendations: bool,
pub include_advertiser_attributes: bool,
}
Expand description
| Name | Type | Description | | username | string | | | password | string | | | gender | string | | | birthYear | int | | | zipCode | int | | | emailOptIn | boolean | | | countryCode | string | | | accountType| string registered | | | registeredType | string user | | | includePandoraOneInfo | boolean | | | includeAccountMessage | boolean | | | returnCollectTrackLifetimeStats | boolean | | | returnIsSubscriber | boolean | | | xplatformAdCapable | boolean | | | includeFacebook | boolean | | | includeGoogleplay | boolean | | | includeShowUserRecommendations | boolean | | | includeAdvertiserAttributes | boolean | |
Fields§
§username: String
Username to associate with the account.
password: String
Password to set for the account.
gender: UserGender
Account-holder gender, Male or Female.
birth_year: u32
Account-holder birth year.
zip_code: String
Account-holder zip code.
email_opt_in: bool
Whether the user opts in to e-mail communciations.
country_code: String
Account-holder country code.
account_type: String
Unknown: “registered”?
registered_type: String
Unknown: “user”?
include_pandora_one_info: bool
Unknown.
include_account_message: bool
Unknown.
return_collect_track_lifetime_stats: bool
Unknown.
return_is_subscriber: bool
Unknown.
xplatform_ad_capable: bool
Unknown.
include_facebook: bool
Unknown.
include_googleplay: bool
Unknown.
include_show_user_recommendations: bool
Unknown.
include_advertiser_attributes: bool
Unknown.
Implementations§
Trait Implementations§
Source§impl Clone for CreateUser
impl Clone for CreateUser
Source§fn clone(&self) -> CreateUser
fn clone(&self) -> CreateUser
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more