Enum gapi_grpc::google::ads::googleads::v4::enums::geo_targeting_restriction_enum::GeoTargetingRestriction[][src]

#[repr(i32)]pub enum GeoTargetingRestriction {
    Unspecified,
    Unknown,
    LocationOfPresence,
}

A restriction used to determine if the request context’s geo should be matched.

Variants

Unspecified

Not specified.

Unknown

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

LocationOfPresence

Indicates that request context should match the physical location of the user.

Implementations

impl GeoTargetingRestriction[src]

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

Returns true if value is a variant of GeoTargetingRestriction.

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

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

Trait Implementations

impl Clone for GeoTargetingRestriction[src]

impl Copy for GeoTargetingRestriction[src]

impl Debug for GeoTargetingRestriction[src]

impl Default for GeoTargetingRestriction[src]

impl Eq for GeoTargetingRestriction[src]

impl From<GeoTargetingRestriction> for i32[src]

impl Hash for GeoTargetingRestriction[src]

impl Ord for GeoTargetingRestriction[src]

impl PartialEq<GeoTargetingRestriction> for GeoTargetingRestriction[src]

impl PartialOrd<GeoTargetingRestriction> for GeoTargetingRestriction[src]

impl StructuralEq for GeoTargetingRestriction[src]

impl StructuralPartialEq for GeoTargetingRestriction[src]

Auto Trait Implementations

impl RefUnwindSafe for GeoTargetingRestriction

impl Send for GeoTargetingRestriction

impl Sync for GeoTargetingRestriction

impl Unpin for GeoTargetingRestriction

impl UnwindSafe for GeoTargetingRestriction

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]