Enum gapi_grpc::google::ads::googleads::v7::enums::distance_bucket_enum::DistanceBucket[][src]

[]
#[repr(i32)]pub enum DistanceBucket {
    Unspecified,
    Unknown,
    Within700m,
    Within1km,
    Within5km,
    Within10km,
    Within15km,
    Within20km,
    Within25km,
    Within30km,
    Within35km,
    Within40km,
    Within45km,
    Within50km,
    Within55km,
    Within60km,
    Within65km,
    Beyond65km,
    Within07miles,
    Within1mile,
    Within5miles,
    Within10miles,
    Within15miles,
    Within20miles,
    Within25miles,
    Within30miles,
    Within35miles,
    Within40miles,
    Beyond40miles,
}
[]

The distance bucket for a user’s distance from an advertiser’s location extension.

Variants

Unspecified
[]

Not specified.

Unknown
[]

Used for return value only. Represents value unknown in this version.

Within700m
[]

User was within 700m of the location.

Within1km
[]

User was within 1KM of the location.

Within5km
[]

User was within 5KM of the location.

Within10km
[]

User was within 10KM of the location.

Within15km
[]

User was within 15KM of the location.

Within20km
[]

User was within 20KM of the location.

Within25km
[]

User was within 25KM of the location.

Within30km
[]

User was within 30KM of the location.

Within35km
[]

User was within 35KM of the location.

Within40km
[]

User was within 40KM of the location.

Within45km
[]

User was within 45KM of the location.

Within50km
[]

User was within 50KM of the location.

Within55km
[]

User was within 55KM of the location.

Within60km
[]

User was within 60KM of the location.

Within65km
[]

User was within 65KM of the location.

Beyond65km
[]

User was beyond 65KM of the location.

Within07miles
[]

User was within 0.7 miles of the location.

Within1mile
[]

User was within 1 mile of the location.

Within5miles
[]

User was within 5 miles of the location.

Within10miles
[]

User was within 10 miles of the location.

Within15miles
[]

User was within 15 miles of the location.

Within20miles
[]

User was within 20 miles of the location.

Within25miles
[]

User was within 25 miles of the location.

Within30miles
[]

User was within 30 miles of the location.

Within35miles
[]

User was within 35 miles of the location.

Within40miles
[]

User was within 40 miles of the location.

Beyond40miles
[]

User was beyond 40 miles of the location.

Implementations

impl DistanceBucket[src][]

pub fn is_valid(value: i32) -> bool[src][]

Returns true if value is a variant of DistanceBucket.

pub fn from_i32(value: i32) -> Option<DistanceBucket>[src][]

Converts an i32 to a DistanceBucket, or None if value is not a valid variant.

Trait Implementations

impl Clone for DistanceBucket[src][+]

impl Copy for DistanceBucket[src]

impl Debug for DistanceBucket[src][+]

impl Default for DistanceBucket[src][+]

impl Eq for DistanceBucket[src]

impl From<DistanceBucket> for i32[src][+]

impl Hash for DistanceBucket[src][+]

impl Ord for DistanceBucket[src][+]

impl PartialEq<DistanceBucket> for DistanceBucket[src][+]

impl PartialOrd<DistanceBucket> for DistanceBucket[src][+]

impl StructuralEq for DistanceBucket[src]

impl StructuralPartialEq for DistanceBucket[src]

Auto Trait Implementations

impl RefUnwindSafe for DistanceBucket

impl Send for DistanceBucket

impl Sync for DistanceBucket

impl Unpin for DistanceBucket

impl UnwindSafe for DistanceBucket

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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][+]