Struct gapi_grpc::google::ads::googleads::v6::resources::DistanceView[][src]

pub struct DistanceView {
    pub resource_name: String,
    pub distance_bucket: i32,
    pub metric_system: bool,
}

A distance view with metrics aggregated by the user’s distance from an advertiser’s location extensions. Each DistanceBucket includes all impressions that fall within its distance and a single impression will contribute to the metrics for all DistanceBuckets that include the user’s distance.

Fields

resource_name: String

Output only. The resource name of the distance view. Distance view resource names have the form:

customers/{customer_id}/distanceViews/1~{distance_bucket}

distance_bucket: i32

Output only. Grouping of user distance from location extensions.

metric_system: bool

Output only. True if the DistanceBucket is using the metric system, false otherwise.

Implementations

impl DistanceView[src]

pub fn distance_bucket(&self) -> DistanceBucket[src]

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

pub fn set_distance_bucket(&mut self, value: DistanceBucket)[src]

Sets distance_bucket to the provided enum value.

Trait Implementations

impl Clone for DistanceView[src]

impl Debug for DistanceView[src]

impl Default for DistanceView[src]

impl Message for DistanceView[src]

impl PartialEq<DistanceView> for DistanceView[src]

impl StructuralPartialEq for DistanceView[src]

Auto Trait Implementations

impl RefUnwindSafe for DistanceView

impl Send for DistanceView

impl Sync for DistanceView

impl Unpin for DistanceView

impl UnwindSafe for DistanceView

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]