pub enum CallToAction {
Show 18 variants
LearnMore,
ShopNow,
SignUp,
BookTravel,
ContactUs,
Download,
GetOffer,
GetQuote,
Subscribe,
WatchMore,
Register,
Join,
Attend,
RequestDemo,
ViewQuote,
Apply,
SeeMore,
BuyNow,
}Expand description
Required on legacy + attach shapes for Meta. Honoured on TikTok (passes through to the Spark Ad creative’s call_to_action) and on LinkedIn (the CTA button on the ad; defaults to LEARN_MORE when linkUrl is set). LinkedIn accepts: LEARN_MORE, SIGN_UP, DOWNLOAD, SUBSCRIBE, REGISTER, JOIN, ATTEND, REQUEST_DEMO, VIEW_QUOTE, APPLY, SEE_MORE, SHOP_NOW, BUY_NOW. Ignored by Google, Pinterest, and X/Twitter.
Variants§
LearnMore
ShopNow
SignUp
BookTravel
ContactUs
Download
GetOffer
GetQuote
Subscribe
WatchMore
Register
Join
Attend
RequestDemo
ViewQuote
Apply
SeeMore
BuyNow
Trait Implementations§
Source§impl Clone for CallToAction
impl Clone for CallToAction
Source§fn clone(&self) -> CallToAction
fn clone(&self) -> CallToAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CallToAction
Source§impl Debug for CallToAction
impl Debug for CallToAction
Source§impl Default for CallToAction
impl Default for CallToAction
Source§fn default() -> CallToAction
fn default() -> CallToAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CallToAction
impl<'de> Deserialize<'de> for CallToAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CallToAction
Source§impl Hash for CallToAction
impl Hash for CallToAction
Source§impl Ord for CallToAction
impl Ord for CallToAction
Source§fn cmp(&self, other: &CallToAction) -> Ordering
fn cmp(&self, other: &CallToAction) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CallToAction
impl PartialEq for CallToAction
Source§fn eq(&self, other: &CallToAction) -> bool
fn eq(&self, other: &CallToAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CallToAction
impl PartialOrd for CallToAction
Source§impl Serialize for CallToAction
impl Serialize for CallToAction
impl StructuralPartialEq for CallToAction
Auto Trait Implementations§
impl Freeze for CallToAction
impl RefUnwindSafe for CallToAction
impl Send for CallToAction
impl Sync for CallToAction
impl Unpin for CallToAction
impl UnsafeUnpin for CallToAction
impl UnwindSafe for CallToAction
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
Mutably borrows from an owned value. Read more