Enum google_api_proto::google::ads::googleads::v16::enums::call_to_action_type_enum::CallToActionType
source · #[repr(i32)]pub enum CallToActionType {
Show 19 variants
Unspecified = 0,
Unknown = 1,
LearnMore = 2,
GetQuote = 3,
ApplyNow = 4,
SignUp = 5,
ContactUs = 6,
Subscribe = 7,
Download = 8,
BookNow = 9,
ShopNow = 10,
BuyNow = 11,
DonateNow = 12,
OrderNow = 13,
PlayNow = 14,
SeeMore = 15,
StartNow = 16,
VisitSite = 17,
WatchNow = 18,
}
Expand description
Enum describing possible types of call to action.
Variants§
Unspecified = 0
Not specified.
Unknown = 1
Used for return value only. Represents value unknown in this version.
LearnMore = 2
The call to action type is learn more.
GetQuote = 3
The call to action type is get quote.
ApplyNow = 4
The call to action type is apply now.
SignUp = 5
The call to action type is sign up.
ContactUs = 6
The call to action type is contact us.
Subscribe = 7
The call to action type is subscribe.
Download = 8
The call to action type is download.
BookNow = 9
The call to action type is book now.
ShopNow = 10
The call to action type is shop now.
BuyNow = 11
The call to action type is buy now.
DonateNow = 12
The call to action type is donate now.
OrderNow = 13
The call to action type is order now.
PlayNow = 14
The call to action type is play now.
SeeMore = 15
The call to action type is see more.
StartNow = 16
The call to action type is start now.
VisitSite = 17
The call to action type is visit site.
WatchNow = 18
The call to action type is watch now.
Implementations§
source§impl CallToActionType
impl CallToActionType
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 CallToActionType
impl Clone for CallToActionType
source§fn clone(&self) -> CallToActionType
fn clone(&self) -> CallToActionType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CallToActionType
impl Debug for CallToActionType
source§impl Default for CallToActionType
impl Default for CallToActionType
source§fn default() -> CallToActionType
fn default() -> CallToActionType
source§impl From<CallToActionType> for i32
impl From<CallToActionType> for i32
source§fn from(value: CallToActionType) -> i32
fn from(value: CallToActionType) -> i32
source§impl Hash for CallToActionType
impl Hash for CallToActionType
source§impl Ord for CallToActionType
impl Ord for CallToActionType
source§fn cmp(&self, other: &CallToActionType) -> Ordering
fn cmp(&self, other: &CallToActionType) -> 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 CallToActionType
impl PartialEq for CallToActionType
source§fn eq(&self, other: &CallToActionType) -> bool
fn eq(&self, other: &CallToActionType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CallToActionType
impl PartialOrd for CallToActionType
source§fn partial_cmp(&self, other: &CallToActionType) -> Option<Ordering>
fn partial_cmp(&self, other: &CallToActionType) -> 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 CallToActionType
impl TryFrom<i32> for CallToActionType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<CallToActionType, DecodeError>
fn try_from(value: i32) -> Result<CallToActionType, DecodeError>
impl Copy for CallToActionType
impl Eq for CallToActionType
impl StructuralPartialEq for CallToActionType
Auto Trait Implementations§
impl Freeze for CallToActionType
impl RefUnwindSafe for CallToActionType
impl Send for CallToActionType
impl Sync for CallToActionType
impl Unpin for CallToActionType
impl UnwindSafe for CallToActionType
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