pub struct ConversionDestination {
pub id: String,
pub name: String,
pub type: Option<String>,
pub status: Option<Status>,
pub ad_account_id: Option<String>,
}Expand description
ConversionDestination : A discoverable conversion destination on an ad platform — a Meta pixel, Google conversion action, or LinkedIn conversion rule. Returned by listConversionDestinations, getConversionDestination, createConversionDestination, and updateConversionDestination.
Fields§
§id: StringPlatform-native identifier. Pass back as destinationId on event send and as the path segment on CRUD endpoints.
name: String§type: Option<String>Present when the platform locks the event type/category to the destination (Google conversion actions, LinkedIn conversion rules). Absent for Meta pixels (which accept any event name per request).
status: Option<Status>For LinkedIn, inactive means the rule is soft-deleted (enabled: false).
ad_account_id: Option<String>Set by adapters whose destinations are scoped to a specific ad account (LinkedIn). Pass back on subsequent CRUD calls to identify the parent ad account.
Implementations§
Source§impl ConversionDestination
impl ConversionDestination
Sourcepub fn new(id: String, name: String) -> ConversionDestination
pub fn new(id: String, name: String) -> ConversionDestination
A discoverable conversion destination on an ad platform — a Meta pixel, Google conversion action, or LinkedIn conversion rule. Returned by listConversionDestinations, getConversionDestination, createConversionDestination, and updateConversionDestination.
Trait Implementations§
Source§impl Clone for ConversionDestination
impl Clone for ConversionDestination
Source§fn clone(&self) -> ConversionDestination
fn clone(&self) -> ConversionDestination
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConversionDestination
impl Debug for ConversionDestination
Source§impl Default for ConversionDestination
impl Default for ConversionDestination
Source§fn default() -> ConversionDestination
fn default() -> ConversionDestination
Source§impl<'de> Deserialize<'de> for ConversionDestination
impl<'de> Deserialize<'de> for ConversionDestination
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>,
Source§impl PartialEq for ConversionDestination
impl PartialEq for ConversionDestination
Source§fn eq(&self, other: &ConversionDestination) -> bool
fn eq(&self, other: &ConversionDestination) -> bool
self and other values to be equal, and is used by ==.