Struct google_partners2::UserProfile [−][src]
pub struct UserProfile { pub industries: Option<Vec<String>>, pub primary_country_code: Option<i64>, pub adwords_manager_account: Option<String>, pub markets: Option<Vec<String>>, pub email_opt_ins: Option<OptIns>, pub family_name: Option<String>, pub migrate_to_afa: Option<bool>, pub languages: Option<Vec<String>>, pub phone_number: Option<String>, pub address: Option<Location>, pub email_address: Option<String>, pub given_name: Option<String>, pub job_functions: Option<Vec<String>>, pub profile_public: Option<bool>, pub channels: Option<Vec<String>>, }
The profile information of a Partners user.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- update profile users (request|response)
Fields
industries: Option<Vec<String>>
A list of ids representing which industries the user selected.
primary_country_code: Option<i64>
The user's primary country, an ISO 2-character code.
adwords_manager_account: Option<String>
If the user has edit access to multiple accounts, the user can choose the preferred account and it is used when a personal account is needed. Can be empty.
markets: Option<Vec<String>>
A list of ids representing which markets the user was interested in.
email_opt_ins: Option<OptIns>
The list of opt-ins for the user, related to communication preferences.
family_name: Option<String>
The user's family name.
migrate_to_afa: Option<bool>
Whether or not to migrate the user's exam data to Academy for Ads.
languages: Option<Vec<String>>
The list of languages this user understands.
phone_number: Option<String>
The user's phone number.
address: Option<Location>
The user's mailing address, contains multiple fields.
email_address: Option<String>
The email address the user has selected on the Partners site as primary.
given_name: Option<String>
The user's given name.
job_functions: Option<Vec<String>>
A list of ids represnting which job categories the user selected.
profile_public: Option<bool>
Whether the user's public profile is visible to anyone with the URL.
channels: Option<Vec<String>>
A list of ids representing which channels the user selected they were in.
Trait Implementations
impl Default for UserProfile
[src]
impl Default for UserProfile
fn default() -> UserProfile
[src]
fn default() -> UserProfile
Returns the "default value" for a type. Read more
impl Clone for UserProfile
[src]
impl Clone for UserProfile
fn clone(&self) -> UserProfile
[src]
fn clone(&self) -> UserProfile
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for UserProfile
[src]
impl Debug for UserProfile
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for UserProfile
[src]
impl RequestValue for UserProfile
impl ResponseResult for UserProfile
[src]
impl ResponseResult for UserProfile
Auto Trait Implementations
impl Send for UserProfile
impl Send for UserProfile
impl Sync for UserProfile
impl Sync for UserProfile