Struct gapi_grpc::google::ads::googleads::v5::services::PlannableTargeting[][src]

pub struct PlannableTargeting {
    pub age_ranges: Vec<i32>,
    pub genders: Vec<GenderInfo>,
    pub devices: Vec<DeviceInfo>,
    pub networks: Vec<i32>,
}

The targeting for which traffic metrics will be reported.

Fields

age_ranges: Vec<i32>

Allowed plannable age ranges for the product for which metrics will be reported. Actual targeting is computed by mapping this age range onto standard Google common.AgeRangeInfo values.

genders: Vec<GenderInfo>

Targetable genders for the ad product.

devices: Vec<DeviceInfo>

Targetable devices for the ad product.

networks: Vec<i32>

Targetable networks for the ad product.

Implementations

impl PlannableTargeting[src]

pub fn age_ranges(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<ReachPlanAgeRange>>
[src]

Returns an iterator which yields the valid enum values contained in age_ranges.

pub fn push_age_ranges(&mut self, value: ReachPlanAgeRange)[src]

Appends the provided enum value to age_ranges.

pub fn networks(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<ReachPlanNetwork>>
[src]

Returns an iterator which yields the valid enum values contained in networks.

pub fn push_networks(&mut self, value: ReachPlanNetwork)[src]

Appends the provided enum value to networks.

Trait Implementations

impl Clone for PlannableTargeting[src]

impl Debug for PlannableTargeting[src]

impl Default for PlannableTargeting[src]

impl Message for PlannableTargeting[src]

impl PartialEq<PlannableTargeting> for PlannableTargeting[src]

impl StructuralPartialEq for PlannableTargeting[src]

Auto Trait Implementations

impl RefUnwindSafe for PlannableTargeting

impl Send for PlannableTargeting

impl Sync for PlannableTargeting

impl Unpin for PlannableTargeting

impl UnwindSafe for PlannableTargeting

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]