Struct gapi_grpc::google::ads::googleads::v5::common::CriterionCategoryLocaleAvailability[][src]

pub struct CriterionCategoryLocaleAvailability {
    pub availability_mode: i32,
    pub country_code: Option<String>,
    pub language_code: Option<String>,
}

Information about which locales a category is available in.

Fields

availability_mode: i32

Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and language will be empty), COUNTRY (only country will be set), LANGUAGE (only language wil be set), COUNTRY_AND_LANGUAGE (both country and language will be set).

country_code: Option<String>

Code of the country.

language_code: Option<String>

Code of the language.

Implementations

impl CriterionCategoryLocaleAvailability[src]

pub fn availability_mode(&self) -> CriterionCategoryLocaleAvailabilityMode[src]

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

pub fn set_availability_mode(
    &mut self,
    value: CriterionCategoryLocaleAvailabilityMode
)
[src]

Sets availability_mode to the provided enum value.

Trait Implementations

impl Clone for CriterionCategoryLocaleAvailability[src]

impl Debug for CriterionCategoryLocaleAvailability[src]

impl Default for CriterionCategoryLocaleAvailability[src]

impl Message for CriterionCategoryLocaleAvailability[src]

impl PartialEq<CriterionCategoryLocaleAvailability> for CriterionCategoryLocaleAvailability[src]

impl StructuralPartialEq for CriterionCategoryLocaleAvailability[src]

Auto Trait Implementations

impl RefUnwindSafe for CriterionCategoryLocaleAvailability

impl Send for CriterionCategoryLocaleAvailability

impl Sync for CriterionCategoryLocaleAvailability

impl Unpin for CriterionCategoryLocaleAvailability

impl UnwindSafe for CriterionCategoryLocaleAvailability

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]