Enum google_api_proto::google::ads::googleads::v17::enums::conversion_lag_bucket_enum::ConversionLagBucket
source · #[repr(i32)]pub enum ConversionLagBucket {
Show 21 variants
Unspecified = 0,
Unknown = 1,
LessThanOneDay = 2,
OneToTwoDays = 3,
TwoToThreeDays = 4,
ThreeToFourDays = 5,
FourToFiveDays = 6,
FiveToSixDays = 7,
SixToSevenDays = 8,
SevenToEightDays = 9,
EightToNineDays = 10,
NineToTenDays = 11,
TenToElevenDays = 12,
ElevenToTwelveDays = 13,
TwelveToThirteenDays = 14,
ThirteenToFourteenDays = 15,
FourteenToTwentyOneDays = 16,
TwentyOneToThirtyDays = 17,
ThirtyToFortyFiveDays = 18,
FortyFiveToSixtyDays = 19,
SixtyToNinetyDays = 20,
}
Expand description
Enum representing the number of days between impression and conversion.
Variants§
Unspecified = 0
Not specified.
Unknown = 1
Used for return value only. Represents value unknown in this version.
LessThanOneDay = 2
Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not.
OneToTwoDays = 3
Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not.
TwoToThreeDays = 4
Conversion lag bucket from 2 to 3 days. 2 days is included, 3 days is not.
ThreeToFourDays = 5
Conversion lag bucket from 3 to 4 days. 3 days is included, 4 days is not.
FourToFiveDays = 6
Conversion lag bucket from 4 to 5 days. 4 days is included, 5 days is not.
FiveToSixDays = 7
Conversion lag bucket from 5 to 6 days. 5 days is included, 6 days is not.
SixToSevenDays = 8
Conversion lag bucket from 6 to 7 days. 6 days is included, 7 days is not.
SevenToEightDays = 9
Conversion lag bucket from 7 to 8 days. 7 days is included, 8 days is not.
EightToNineDays = 10
Conversion lag bucket from 8 to 9 days. 8 days is included, 9 days is not.
NineToTenDays = 11
Conversion lag bucket from 9 to 10 days. 9 days is included, 10 days is not.
TenToElevenDays = 12
Conversion lag bucket from 10 to 11 days. 10 days is included, 11 days is not.
ElevenToTwelveDays = 13
Conversion lag bucket from 11 to 12 days. 11 days is included, 12 days is not.
TwelveToThirteenDays = 14
Conversion lag bucket from 12 to 13 days. 12 days is included, 13 days is not.
ThirteenToFourteenDays = 15
Conversion lag bucket from 13 to 14 days. 13 days is included, 14 days is not.
FourteenToTwentyOneDays = 16
Conversion lag bucket from 14 to 21 days. 14 days is included, 21 days is not.
TwentyOneToThirtyDays = 17
Conversion lag bucket from 21 to 30 days. 21 days is included, 30 days is not.
ThirtyToFortyFiveDays = 18
Conversion lag bucket from 30 to 45 days. 30 days is included, 45 days is not.
FortyFiveToSixtyDays = 19
Conversion lag bucket from 45 to 60 days. 45 days is included, 60 days is not.
SixtyToNinetyDays = 20
Conversion lag bucket from 60 to 90 days. 60 days is included, 90 days is not.
Implementations§
source§impl ConversionLagBucket
impl ConversionLagBucket
sourcepub fn from_i32(value: i32) -> Option<ConversionLagBucket>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<ConversionLagBucket>
Converts an i32
to a ConversionLagBucket
, or None
if value
is not a valid variant.
source§impl ConversionLagBucket
impl ConversionLagBucket
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 ConversionLagBucket
impl Clone for ConversionLagBucket
source§fn clone(&self) -> ConversionLagBucket
fn clone(&self) -> ConversionLagBucket
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConversionLagBucket
impl Debug for ConversionLagBucket
source§impl Default for ConversionLagBucket
impl Default for ConversionLagBucket
source§fn default() -> ConversionLagBucket
fn default() -> ConversionLagBucket
source§impl From<ConversionLagBucket> for i32
impl From<ConversionLagBucket> for i32
source§fn from(value: ConversionLagBucket) -> i32
fn from(value: ConversionLagBucket) -> i32
source§impl Hash for ConversionLagBucket
impl Hash for ConversionLagBucket
source§impl Ord for ConversionLagBucket
impl Ord for ConversionLagBucket
source§fn cmp(&self, other: &ConversionLagBucket) -> Ordering
fn cmp(&self, other: &ConversionLagBucket) -> 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 ConversionLagBucket
impl PartialEq for ConversionLagBucket
source§fn eq(&self, other: &ConversionLagBucket) -> bool
fn eq(&self, other: &ConversionLagBucket) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ConversionLagBucket
impl PartialOrd for ConversionLagBucket
source§fn partial_cmp(&self, other: &ConversionLagBucket) -> Option<Ordering>
fn partial_cmp(&self, other: &ConversionLagBucket) -> 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 ConversionLagBucket
impl TryFrom<i32> for ConversionLagBucket
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<ConversionLagBucket, UnknownEnumValue>
fn try_from(value: i32) -> Result<ConversionLagBucket, UnknownEnumValue>
impl Copy for ConversionLagBucket
impl Eq for ConversionLagBucket
impl StructuralPartialEq for ConversionLagBucket
Auto Trait Implementations§
impl Freeze for ConversionLagBucket
impl RefUnwindSafe for ConversionLagBucket
impl Send for ConversionLagBucket
impl Sync for ConversionLagBucket
impl Unpin for ConversionLagBucket
impl UnwindSafe for ConversionLagBucket
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