Struct google_partners2::api::Company[][src]

pub struct Company {
    pub profile_status: Option<String>,
    pub primary_language_code: Option<String>,
    pub locations: Option<Vec<Location>>,
    pub converted_min_monthly_budget: Option<Money>,
    pub industries: Option<Vec<String>>,
    pub website_url: Option<String>,
    pub additional_websites: Option<Vec<String>>,
    pub primary_adwords_manager_account_id: Option<String>,
    pub badge_authority_in_awn: Option<bool>,
    pub name: Option<String>,
    pub localized_infos: Option<Vec<LocalizedCompanyInfo>>,
    pub certification_statuses: Option<Vec<CertificationStatus>>,
    pub id: Option<String>,
    pub public_profile: Option<PublicProfile>,
    pub original_min_monthly_budget: Option<Money>,
    pub services: Option<Vec<String>>,
    pub primary_location: Option<Location>,
    pub ranks: Option<Vec<Rank>>,
    pub specialization_status: Option<Vec<SpecializationStatus>>,
    pub badge_tier: Option<String>,
    pub auto_approval_email_domains: Option<Vec<String>>,
    pub company_types: Option<Vec<String>>,
}

A company resource in the Google Partners API. Once certified, it qualifies for being searched by advertisers.

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

profile_status: Option<String>

The public viewability status of the company’s profile.

primary_language_code: Option<String>

The primary language code of the company, as defined by BCP 47 (IETF BCP 47, “Tags for Identifying Languages”).

locations: Option<Vec<Location>>

The list of all company locations. If set, must include the primary_location in the list.

converted_min_monthly_budget: Option<Money>

The minimum monthly budget that the company accepts for partner business, converted to the requested currency code.

industries: Option<Vec<String>>

Industries the company can help with.

website_url: Option<String>

URL of the company’s website.

additional_websites: Option<Vec<String>>

URL of the company’s additional websites used to verify the dynamic badges. These are stored as full URLs as entered by the user, but only the TLD will be used for the actual verification.

primary_adwords_manager_account_id: Option<String>

The Primary AdWords Manager Account id.

badge_authority_in_awn: Option<bool>

Whether the company’s badge authority is in AWN

name: Option<String>

The name of the company.

localized_infos: Option<Vec<LocalizedCompanyInfo>>

The list of localized info for the company.

certification_statuses: Option<Vec<CertificationStatus>>

The list of Google Partners certification statuses for the company.

id: Option<String>

The ID of the company.

public_profile: Option<PublicProfile>

Basic information from the company’s public profile.

original_min_monthly_budget: Option<Money>

The unconverted minimum monthly budget that the company accepts for partner business.

services: Option<Vec<String>>

Services the company can help with.

primary_location: Option<Location>

The primary location of the company.

ranks: Option<Vec<Rank>>

Information related to the ranking of the company within the list of companies.

specialization_status: Option<Vec<SpecializationStatus>>

The list of Google Partners specialization statuses for the company.

badge_tier: Option<String>

Partner badge tier

auto_approval_email_domains: Option<Vec<String>>

Email domains that allow users with a matching email address to get auto-approved for associating with this company.

company_types: Option<Vec<String>>

Company type labels listed on the company’s profile.

Trait Implementations

impl Clone for Company[src]

impl Debug for Company[src]

impl Default for Company[src]

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

impl RequestValue for Company[src]

impl ResponseResult for Company[src]

impl Serialize for Company[src]

Auto Trait Implementations

impl RefUnwindSafe for Company

impl Send for Company

impl Sync for Company

impl Unpin for Company

impl UnwindSafe for Company

Blanket Implementations

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

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

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

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

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

impl<T> Instrument for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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.