Struct gapi_grpc::google::ads::googleads::v5::resources::ProductBiddingCategoryConstant[][src]

pub struct ProductBiddingCategoryConstant {
    pub resource_name: String,
    pub id: Option<i64>,
    pub country_code: Option<String>,
    pub product_bidding_category_constant_parent: Option<String>,
    pub level: i32,
    pub status: i32,
    pub language_code: Option<String>,
    pub localized_name: Option<String>,
}

A Product Bidding Category.

Fields

resource_name: String

Output only. The resource name of the product bidding category. Product bidding category resource names have the form:

productBiddingCategoryConstants/{country_code}~{level}~{id}

id: Option<i64>

Output only. 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>

Output only. Two-letter upper-case country code of the product bidding category.

product_bidding_category_constant_parent: Option<String>

Output only. Resource name of the parent product bidding category.

level: i32

Output only. Level of the product bidding category.

status: i32

Output only. Status of the product bidding category.

language_code: Option<String>

Output only. Language code of the product bidding category.

localized_name: Option<String>

Output only. Display value of the product bidding category localized according to language_code.

Implementations

impl ProductBiddingCategoryConstant[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.

pub fn status(&self) -> ProductBiddingCategoryStatus[src]

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

pub fn set_status(&mut self, value: ProductBiddingCategoryStatus)[src]

Sets status to the provided enum value.

Trait Implementations

impl Clone for ProductBiddingCategoryConstant[src]

impl Debug for ProductBiddingCategoryConstant[src]

impl Default for ProductBiddingCategoryConstant[src]

impl Message for ProductBiddingCategoryConstant[src]

impl PartialEq<ProductBiddingCategoryConstant> for ProductBiddingCategoryConstant[src]

impl StructuralPartialEq for ProductBiddingCategoryConstant[src]

Auto Trait Implementations

impl RefUnwindSafe for ProductBiddingCategoryConstant

impl Send for ProductBiddingCategoryConstant

impl Sync for ProductBiddingCategoryConstant

impl Unpin for ProductBiddingCategoryConstant

impl UnwindSafe for ProductBiddingCategoryConstant

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]