#[repr(i32)]pub enum ConversionOrigin {
Unspecified = 0,
Unknown = 1,
Website = 2,
GoogleHosted = 3,
App = 4,
CallFromAds = 5,
Store = 6,
YoutubeHosted = 7,
}
Expand description
The possible places where a conversion can occur.
Variants§
Unspecified = 0
The conversion origin has not been specified.
Unknown = 1
The conversion origin is not known in this version.
Website = 2
Conversion that occurs when a user visits a website or takes an action there after viewing an ad.
GoogleHosted = 3
Conversions reported by an offline pipeline which collects local actions from Google-hosted pages (for example, Google Maps, Google Place Page, etc) and attributes them to relevant ad events.
App = 4
Conversion that occurs when a user performs an action through any app platforms.
CallFromAds = 5
Conversion that occurs when a user makes a call from ads.
Store = 6
Conversion that occurs when a user visits or makes a purchase at a physical store.
YoutubeHosted = 7
Conversion that occurs on YouTube.
Implementations§
Source§impl ConversionOrigin
impl ConversionOrigin
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 ConversionOrigin
impl Clone for ConversionOrigin
Source§fn clone(&self) -> ConversionOrigin
fn clone(&self) -> ConversionOrigin
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ConversionOrigin
impl Debug for ConversionOrigin
Source§impl Default for ConversionOrigin
impl Default for ConversionOrigin
Source§fn default() -> ConversionOrigin
fn default() -> ConversionOrigin
Source§impl From<ConversionOrigin> for i32
impl From<ConversionOrigin> for i32
Source§fn from(value: ConversionOrigin) -> i32
fn from(value: ConversionOrigin) -> i32
Source§impl Hash for ConversionOrigin
impl Hash for ConversionOrigin
Source§impl Ord for ConversionOrigin
impl Ord for ConversionOrigin
Source§fn cmp(&self, other: &ConversionOrigin) -> Ordering
fn cmp(&self, other: &ConversionOrigin) -> 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 ConversionOrigin
impl PartialEq for ConversionOrigin
Source§impl PartialOrd for ConversionOrigin
impl PartialOrd for ConversionOrigin
impl Copy for ConversionOrigin
impl Eq for ConversionOrigin
impl StructuralPartialEq for ConversionOrigin
Auto Trait Implementations§
impl Freeze for ConversionOrigin
impl RefUnwindSafe for ConversionOrigin
impl Send for ConversionOrigin
impl Sync for ConversionOrigin
impl Unpin for ConversionOrigin
impl UnwindSafe for ConversionOrigin
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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