Struct gapi_grpc::google::ads::googleads::v4::common::ProductBiddingCategoryInfo[][src]

pub struct ProductBiddingCategoryInfo {
    pub id: Option<i64>,
    pub country_code: Option<String>,
    pub level: i32,
}

Bidding category of a product offer.

Fields

id: Option<i64>

ID of the product bidding category.

This ID is equivalent to the google_product_category ID as described in this article: https://support.google.com/merchants/answer/6324436

country_code: Option<String>

Two-letter upper-case country code of the product bidding category. It must match the campaign.shopping_setting.sales_country field.

level: i32

Level of the product bidding category.

Implementations

impl ProductBiddingCategoryInfo[src]

pub fn level(&self) -> ProductBiddingCategoryLevel[src]

Returns the enum value of level, or the default if the field is set to an invalid enum value.

pub fn set_level(&mut self, value: ProductBiddingCategoryLevel)[src]

Sets level to the provided enum value.

Trait Implementations

impl Clone for ProductBiddingCategoryInfo[src]

impl Debug for ProductBiddingCategoryInfo[src]

impl Default for ProductBiddingCategoryInfo[src]

impl Message for ProductBiddingCategoryInfo[src]

impl PartialEq<ProductBiddingCategoryInfo> for ProductBiddingCategoryInfo[src]

impl StructuralPartialEq for ProductBiddingCategoryInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for ProductBiddingCategoryInfo

impl Send for ProductBiddingCategoryInfo

impl Sync for ProductBiddingCategoryInfo

impl Unpin for ProductBiddingCategoryInfo

impl UnwindSafe for ProductBiddingCategoryInfo

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]