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

pub struct LocationGroupInfo {
    pub feed: Option<String>,
    pub geo_target_constants: Vec<String>,
    pub radius: Option<i64>,
    pub radius_units: i32,
}

A radius around a list of locations specified via a feed.

Fields

feed: Option<String>

Feed specifying locations for targeting. This is required and must be set in CREATE operations.

geo_target_constants: Vec<String>

Geo target constant(s) restricting the scope of the geographic area within the feed. Currently only one geo target constant is allowed.

radius: Option<i64>

Distance in units specifying the radius around targeted locations. This is required and must be set in CREATE operations.

radius_units: i32

Unit of the radius. Miles and meters are supported for geo target constants. Milli miles and meters are supported for feed item sets. This is required and must be set in CREATE operations.

Implementations

impl LocationGroupInfo[src]

pub fn radius_units(&self) -> LocationGroupRadiusUnits[src]

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

pub fn set_radius_units(&mut self, value: LocationGroupRadiusUnits)[src]

Sets radius_units to the provided enum value.

Trait Implementations

impl Clone for LocationGroupInfo[src]

impl Debug for LocationGroupInfo[src]

impl Default for LocationGroupInfo[src]

impl Message for LocationGroupInfo[src]

impl PartialEq<LocationGroupInfo> for LocationGroupInfo[src]

impl StructuralPartialEq for LocationGroupInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for LocationGroupInfo

impl Send for LocationGroupInfo

impl Sync for LocationGroupInfo

impl Unpin for LocationGroupInfo

impl UnwindSafe for LocationGroupInfo

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]