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 job_functions: Option<Vec<String>>, pub email_opt_ins: Option<OptIns>, pub family_name: Option<String>, pub languages: Option<Vec<String>>, pub email_address: Option<String>, pub address: Option<Location>, pub phone_number: Option<String>, pub given_name: Option<String>, pub markets: 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.
job_functions: Option<Vec<String>>
A list of ids represnting which job categories the user selected.
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.
languages: Option<Vec<String>>
The list of languages this user understands.
email_address: Option<String>
The email address the user has selected on the Partners site as primary.
address: Option<Location>
The user's mailing address, contains multiple fields.
phone_number: Option<String>
The user's phone number.
given_name: Option<String>
The user's given name.
markets: Option<Vec<String>>
A list of ids representing which markets the user was interested in.
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]
fn default() -> UserProfile
[src]
Returns the "default value" for a type. Read more
impl Clone for UserProfile
[src]
fn clone(&self) -> UserProfile
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more