Enum gapi_grpc::google::ads::googleads::v4::enums::geo_targeting_restriction_enum::GeoTargetingRestriction [−][src]
pub enum GeoTargetingRestriction { Unspecified, Unknown, LocationOfPresence, }
A restriction used to determine if the request context’s geo should be matched.
Variants
Not specified.
Used for return value only. Represents value unknown in this version.
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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src][+]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
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][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,