Enum google_api_proto::google::ads::googleads::v16::enums::reach_plan_age_range_enum::ReachPlanAgeRange
source · #[repr(i32)]pub enum ReachPlanAgeRange {
Show 28 variants
Unspecified = 0,
Unknown = 1,
AgeRange1824 = 503_001,
AgeRange1834 = 2,
AgeRange1844 = 3,
AgeRange1849 = 4,
AgeRange1854 = 5,
AgeRange1864 = 6,
AgeRange1865Up = 7,
AgeRange2134 = 8,
AgeRange2534 = 503_002,
AgeRange2544 = 9,
AgeRange2549 = 10,
AgeRange2554 = 11,
AgeRange2564 = 12,
AgeRange2565Up = 13,
AgeRange3544 = 503_003,
AgeRange3549 = 14,
AgeRange3554 = 15,
AgeRange3564 = 16,
AgeRange3565Up = 17,
AgeRange4554 = 503_004,
AgeRange4564 = 18,
AgeRange4565Up = 19,
AgeRange5065Up = 20,
AgeRange5564 = 503_005,
AgeRange5565Up = 21,
AgeRange65Up = 503_006,
}
Expand description
Possible plannable age range values.
Variants§
Unspecified = 0
Not specified.
Unknown = 1
The value is unknown in this version.
AgeRange1824 = 503_001
Between 18 and 24 years old.
AgeRange1834 = 2
Between 18 and 34 years old.
AgeRange1844 = 3
Between 18 and 44 years old.
AgeRange1849 = 4
Between 18 and 49 years old.
AgeRange1854 = 5
Between 18 and 54 years old.
AgeRange1864 = 6
Between 18 and 64 years old.
AgeRange1865Up = 7
Between 18 and 65+ years old.
AgeRange2134 = 8
Between 21 and 34 years old.
AgeRange2534 = 503_002
Between 25 and 34 years old.
AgeRange2544 = 9
Between 25 and 44 years old.
AgeRange2549 = 10
Between 25 and 49 years old.
AgeRange2554 = 11
Between 25 and 54 years old.
AgeRange2564 = 12
Between 25 and 64 years old.
AgeRange2565Up = 13
Between 25 and 65+ years old.
AgeRange3544 = 503_003
Between 35 and 44 years old.
AgeRange3549 = 14
Between 35 and 49 years old.
AgeRange3554 = 15
Between 35 and 54 years old.
AgeRange3564 = 16
Between 35 and 64 years old.
AgeRange3565Up = 17
Between 35 and 65+ years old.
AgeRange4554 = 503_004
Between 45 and 54 years old.
AgeRange4564 = 18
Between 45 and 64 years old.
AgeRange4565Up = 19
Between 45 and 65+ years old.
AgeRange5065Up = 20
Between 50 and 65+ years old.
AgeRange5564 = 503_005
Between 55 and 64 years old.
AgeRange5565Up = 21
Between 55 and 65+ years old.
AgeRange65Up = 503_006
65 years old and beyond.
Implementations§
source§impl ReachPlanAgeRange
impl ReachPlanAgeRange
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for ReachPlanAgeRange
impl Clone for ReachPlanAgeRange
source§fn clone(&self) -> ReachPlanAgeRange
fn clone(&self) -> ReachPlanAgeRange
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReachPlanAgeRange
impl Debug for ReachPlanAgeRange
source§impl Default for ReachPlanAgeRange
impl Default for ReachPlanAgeRange
source§fn default() -> ReachPlanAgeRange
fn default() -> ReachPlanAgeRange
source§impl From<ReachPlanAgeRange> for i32
impl From<ReachPlanAgeRange> for i32
source§fn from(value: ReachPlanAgeRange) -> i32
fn from(value: ReachPlanAgeRange) -> i32
source§impl Hash for ReachPlanAgeRange
impl Hash for ReachPlanAgeRange
source§impl Ord for ReachPlanAgeRange
impl Ord for ReachPlanAgeRange
source§fn cmp(&self, other: &ReachPlanAgeRange) -> Ordering
fn cmp(&self, other: &ReachPlanAgeRange) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ReachPlanAgeRange
impl PartialEq for ReachPlanAgeRange
source§fn eq(&self, other: &ReachPlanAgeRange) -> bool
fn eq(&self, other: &ReachPlanAgeRange) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ReachPlanAgeRange
impl PartialOrd for ReachPlanAgeRange
source§fn partial_cmp(&self, other: &ReachPlanAgeRange) -> Option<Ordering>
fn partial_cmp(&self, other: &ReachPlanAgeRange) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for ReachPlanAgeRange
impl TryFrom<i32> for ReachPlanAgeRange
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<ReachPlanAgeRange, DecodeError>
fn try_from(value: i32) -> Result<ReachPlanAgeRange, DecodeError>
impl Copy for ReachPlanAgeRange
impl Eq for ReachPlanAgeRange
impl StructuralPartialEq for ReachPlanAgeRange
Auto Trait Implementations§
impl Freeze for ReachPlanAgeRange
impl RefUnwindSafe for ReachPlanAgeRange
impl Send for ReachPlanAgeRange
impl Sync for ReachPlanAgeRange
impl Unpin for ReachPlanAgeRange
impl UnwindSafe for ReachPlanAgeRange
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request