Struct gapi_grpc::google::ads::googleads::v7::resources::GeoTargetConstant[][src]

pub struct GeoTargetConstant {
    pub resource_name: String,
    pub id: i64,
    pub name: String,
    pub country_code: String,
    pub target_type: String,
    pub status: i32,
    pub canonical_name: String,
    pub parent_geo_target: String,
}

A geo target constant.

Fields

resource_name: String

Output only. The resource name of the geo target constant. Geo target constant resource names have the form:

geoTargetConstants/{geo_target_constant_id}

id: i64

Output only. The ID of the geo target constant.

name: String

Output only. Geo target constant English name.

country_code: String

Output only. The ISO-3166-1 alpha-2 country code that is associated with the target.

target_type: String

Output only. Geo target constant target type.

status: i32

Output only. Geo target constant status.

canonical_name: String

Output only. The fully qualified English name, consisting of the target’s name and that of its parent and country.

parent_geo_target: String

Output only. The resource name of the parent geo target constant. Geo target constant resource names have the form:

geoTargetConstants/{parent_geo_target_constant_id}

Implementations

impl GeoTargetConstant[src]

pub fn status(&self) -> GeoTargetConstantStatus[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: GeoTargetConstantStatus)[src]

Sets status to the provided enum value.

Trait Implementations

impl Clone for GeoTargetConstant[src]

impl Debug for GeoTargetConstant[src]

impl Default for GeoTargetConstant[src]

impl Message for GeoTargetConstant[src]

impl PartialEq<GeoTargetConstant> for GeoTargetConstant[src]

impl StructuralPartialEq for GeoTargetConstant[src]

Auto Trait Implementations

impl RefUnwindSafe for GeoTargetConstant

impl Send for GeoTargetConstant

impl Sync for GeoTargetConstant

impl Unpin for GeoTargetConstant

impl UnwindSafe for GeoTargetConstant

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]