Enum google_api_proto::google::ads::googleads::v15::enums::audience_insights_dimension_enum::AudienceInsightsDimension
source · #[repr(i32)]pub enum AudienceInsightsDimension {
Show 14 variants
Unspecified = 0,
Unknown = 1,
Category = 2,
KnowledgeGraph = 3,
GeoTargetCountry = 4,
SubCountryLocation = 5,
YoutubeChannel = 6,
YoutubeDynamicLineup = 7,
AffinityUserInterest = 8,
InMarketUserInterest = 9,
ParentalStatus = 10,
IncomeRange = 11,
AgeRange = 12,
Gender = 13,
}
Expand description
Possible dimensions for use in generating insights.
Variants§
Unspecified = 0
Not specified.
Unknown = 1
The value is unknown in this version.
Category = 2
A Product & Service category.
KnowledgeGraph = 3
A Knowledge Graph entity.
GeoTargetCountry = 4
A country, represented by a geo target.
SubCountryLocation = 5
A geographic location within a country.
YoutubeChannel = 6
A YouTube channel.
YoutubeDynamicLineup = 7
A YouTube Dynamic Lineup.
AffinityUserInterest = 8
An Affinity UserInterest.
InMarketUserInterest = 9
An In-Market UserInterest.
ParentalStatus = 10
A Parental Status value (parent, or not a parent).
IncomeRange = 11
A household income percentile range.
AgeRange = 12
An age range.
Gender = 13
A gender.
Implementations§
source§impl AudienceInsightsDimension
impl AudienceInsightsDimension
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of AudienceInsightsDimension
.
sourcepub fn from_i32(value: i32) -> Option<AudienceInsightsDimension>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<AudienceInsightsDimension>
Converts an i32
to a AudienceInsightsDimension
, or None
if value
is not a valid variant.
source§impl AudienceInsightsDimension
impl AudienceInsightsDimension
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 AudienceInsightsDimension
impl Clone for AudienceInsightsDimension
source§fn clone(&self) -> AudienceInsightsDimension
fn clone(&self) -> AudienceInsightsDimension
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AudienceInsightsDimension
impl Debug for AudienceInsightsDimension
source§impl Default for AudienceInsightsDimension
impl Default for AudienceInsightsDimension
source§fn default() -> AudienceInsightsDimension
fn default() -> AudienceInsightsDimension
source§impl From<AudienceInsightsDimension> for i32
impl From<AudienceInsightsDimension> for i32
source§fn from(value: AudienceInsightsDimension) -> i32
fn from(value: AudienceInsightsDimension) -> i32
source§impl Hash for AudienceInsightsDimension
impl Hash for AudienceInsightsDimension
source§impl Ord for AudienceInsightsDimension
impl Ord for AudienceInsightsDimension
source§fn cmp(&self, other: &AudienceInsightsDimension) -> Ordering
fn cmp(&self, other: &AudienceInsightsDimension) -> 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 AudienceInsightsDimension
impl PartialEq for AudienceInsightsDimension
source§fn eq(&self, other: &AudienceInsightsDimension) -> bool
fn eq(&self, other: &AudienceInsightsDimension) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AudienceInsightsDimension
impl PartialOrd for AudienceInsightsDimension
source§fn partial_cmp(&self, other: &AudienceInsightsDimension) -> Option<Ordering>
fn partial_cmp(&self, other: &AudienceInsightsDimension) -> 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 AudienceInsightsDimension
impl TryFrom<i32> for AudienceInsightsDimension
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<AudienceInsightsDimension, UnknownEnumValue>
fn try_from(value: i32) -> Result<AudienceInsightsDimension, UnknownEnumValue>
impl Copy for AudienceInsightsDimension
impl Eq for AudienceInsightsDimension
impl StructuralPartialEq for AudienceInsightsDimension
Auto Trait Implementations§
impl Freeze for AudienceInsightsDimension
impl RefUnwindSafe for AudienceInsightsDimension
impl Send for AudienceInsightsDimension
impl Sync for AudienceInsightsDimension
impl Unpin for AudienceInsightsDimension
impl UnwindSafe for AudienceInsightsDimension
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