[][src]Struct google_partners2::CompanyRelation

pub struct CompanyRelation {
    pub manager_account: Option<String>,
    pub website: Option<String>,
    pub specialization_status: Option<Vec<SpecializationStatus>>,
    pub internal_company_id: Option<String>,
    pub primary_address: Option<Location>,
    pub company_admin: Option<bool>,
    pub address: Option<String>,
    pub segment: Option<Vec<String>>,
    pub primary_country_code: Option<i64>,
    pub name: Option<String>,
    pub company_id: Option<String>,
    pub is_pending: Option<bool>,
    pub creation_time: Option<String>,
    pub badge_tier: Option<String>,
    pub state: Option<String>,
    pub phone_number: Option<String>,
    pub logo_url: Option<String>,
    pub primary_language_code: Option<String>,
    pub resolved_timestamp: Option<String>,
}

A CompanyRelation resource representing information about a user's affiliation and standing with a company in Partners.

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

manager_account: Option<String>

The AdWords manager account # associated this company.

website: Option<String>

The website URL for this company.

specialization_status: Option<Vec<SpecializationStatus>>

The list of Google Partners specialization statuses for the company.

internal_company_id: Option<String>

The internal company ID. Only available for a whitelisted set of api clients.

primary_address: Option<Location>

The primary location of the company.

company_admin: Option<bool>

Indicates if the user is an admin for this company.

address: Option<String>

The primary address for this company.

segment: Option<Vec<String>>

The segment the company is classified as.

primary_country_code: Option<i64>

The primary country code of the company.

name: Option<String>

The name (in the company's primary language) for the company.

company_id: Option<String>

The ID of the company. There may be no id if this is a pending company.5

is_pending: Option<bool>

The flag that indicates if the company is pending verification.

creation_time: Option<String>

The timestamp of when affiliation was requested. @OutputOnly

badge_tier: Option<String>

Whether the company is a Partner.

state: Option<String>

The state of relationship, in terms of approvals.

phone_number: Option<String>

The phone number for the company's primary address.

logo_url: Option<String>

A URL to a profile photo, e.g. a G+ profile photo.

primary_language_code: Option<String>

The primary language code of the company.

resolved_timestamp: Option<String>

The timestamp when the user was approved. @OutputOnly

Trait Implementations

impl ResponseResult for CompanyRelation[src]

impl RequestValue for CompanyRelation[src]

impl Default for CompanyRelation[src]

impl Clone for CompanyRelation[src]

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

Performs copy-assignment from source. Read more

impl Debug for CompanyRelation[src]

impl Serialize for CompanyRelation[src]

impl<'de> Deserialize<'de> for CompanyRelation[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]