[][src]Struct google_partners2::UserProfile

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 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 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).

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.

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.

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 ResponseResult for UserProfile[src]

impl RequestValue for UserProfile[src]

impl Default for UserProfile[src]

impl Clone for UserProfile[src]

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

Performs copy-assignment from source. Read more

impl Debug for UserProfile[src]

impl Serialize for UserProfile[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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