Enum google_api_proto::google::ads::googleads::v17::enums::experiment_metric_enum::ExperimentMetric
source · #[repr(i32)]pub enum ExperimentMetric {
Show 15 variants
Unspecified = 0,
Unknown = 1,
Clicks = 2,
Impressions = 3,
Cost = 4,
ConversionsPerInteractionRate = 5,
CostPerConversion = 6,
ConversionsValuePerCost = 7,
AverageCpc = 8,
Ctr = 9,
IncrementalConversions = 10,
CompletedVideoViews = 11,
CustomAlgorithms = 12,
Conversions = 13,
ConversionValue = 14,
}
Expand description
The type of experiment metric.
Variants§
Unspecified = 0
Not specified.
Unknown = 1
The value is unknown in this version.
Clicks = 2
The goal of the experiment is clicks.
Impressions = 3
The goal of the experiment is impressions.
Cost = 4
The goal of the experiment is cost.
ConversionsPerInteractionRate = 5
The goal of the experiment is conversion rate.
CostPerConversion = 6
The goal of the experiment is cost per conversion.
ConversionsValuePerCost = 7
The goal of the experiment is conversion value per cost.
AverageCpc = 8
The goal of the experiment is avg cpc.
Ctr = 9
The goal of the experiment is ctr.
IncrementalConversions = 10
The goal of the experiment is incremental conversions.
CompletedVideoViews = 11
The goal of the experiment is completed video views.
CustomAlgorithms = 12
The goal of the experiment is custom algorithms.
Conversions = 13
The goal of the experiment is conversions.
ConversionValue = 14
The goal of the experiment is conversion value.
Implementations§
source§impl ExperimentMetric
impl ExperimentMetric
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 ExperimentMetric
impl Clone for ExperimentMetric
source§fn clone(&self) -> ExperimentMetric
fn clone(&self) -> ExperimentMetric
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExperimentMetric
impl Debug for ExperimentMetric
source§impl Default for ExperimentMetric
impl Default for ExperimentMetric
source§fn default() -> ExperimentMetric
fn default() -> ExperimentMetric
source§impl From<ExperimentMetric> for i32
impl From<ExperimentMetric> for i32
source§fn from(value: ExperimentMetric) -> i32
fn from(value: ExperimentMetric) -> i32
source§impl Hash for ExperimentMetric
impl Hash for ExperimentMetric
source§impl Ord for ExperimentMetric
impl Ord for ExperimentMetric
source§fn cmp(&self, other: &ExperimentMetric) -> Ordering
fn cmp(&self, other: &ExperimentMetric) -> 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 ExperimentMetric
impl PartialEq for ExperimentMetric
source§fn eq(&self, other: &ExperimentMetric) -> bool
fn eq(&self, other: &ExperimentMetric) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ExperimentMetric
impl PartialOrd for ExperimentMetric
source§fn partial_cmp(&self, other: &ExperimentMetric) -> Option<Ordering>
fn partial_cmp(&self, other: &ExperimentMetric) -> 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 ExperimentMetric
impl TryFrom<i32> for ExperimentMetric
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<ExperimentMetric, UnknownEnumValue>
fn try_from(value: i32) -> Result<ExperimentMetric, UnknownEnumValue>
impl Copy for ExperimentMetric
impl Eq for ExperimentMetric
impl StructuralPartialEq for ExperimentMetric
Auto Trait Implementations§
impl Freeze for ExperimentMetric
impl RefUnwindSafe for ExperimentMetric
impl Send for ExperimentMetric
impl Sync for ExperimentMetric
impl Unpin for ExperimentMetric
impl UnwindSafe for ExperimentMetric
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