pub struct Company {
Show 22 fields 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<i64>, 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>>,
}
Expand description

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<i64>

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§

source§

impl Clone for Company

source§

fn clone(&self) -> Company

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Company

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Company

source§

fn default() -> Company

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Company

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for Company

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl RequestValue for Company

source§

impl ResponseResult for Company

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

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