pub struct SendConversionsRequest {
pub account_id: String,
pub destination_id: String,
pub events: Vec<ConversionEvent>,
pub test_code: Option<String>,
pub consent: Option<Box<SendConversionsRequestConsent>>,
}Fields§
§account_id: StringSocialAccount ID (metaads, googleads, linkedinads, or tiktokads).
destination_id: StringPlatform destination identifier. For Meta, the pixel/dataset ID. For Google, the conversion action resource name. For LinkedIn, the conversion rule ID or full urn:lla:llaPartnerConversion:{id} URN.
events: Vec<ConversionEvent>§test_code: Option<String>Meta test_event_code passthrough. Ignored by Google and LinkedIn.
consent: Option<Box<SendConversionsRequestConsent>>Implementations§
Source§impl SendConversionsRequest
impl SendConversionsRequest
pub fn new( account_id: String, destination_id: String, events: Vec<ConversionEvent>, ) -> SendConversionsRequest
Trait Implementations§
Source§impl Clone for SendConversionsRequest
impl Clone for SendConversionsRequest
Source§fn clone(&self) -> SendConversionsRequest
fn clone(&self) -> SendConversionsRequest
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 moreSource§impl Debug for SendConversionsRequest
impl Debug for SendConversionsRequest
Source§impl Default for SendConversionsRequest
impl Default for SendConversionsRequest
Source§fn default() -> SendConversionsRequest
fn default() -> SendConversionsRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SendConversionsRequest
impl<'de> Deserialize<'de> for SendConversionsRequest
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
Source§impl PartialEq for SendConversionsRequest
impl PartialEq for SendConversionsRequest
Source§fn eq(&self, other: &SendConversionsRequest) -> bool
fn eq(&self, other: &SendConversionsRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SendConversionsRequest
impl Serialize for SendConversionsRequest
impl StructuralPartialEq for SendConversionsRequest
Auto Trait Implementations§
impl Freeze for SendConversionsRequest
impl RefUnwindSafe for SendConversionsRequest
impl Send for SendConversionsRequest
impl Sync for SendConversionsRequest
impl Unpin for SendConversionsRequest
impl UnsafeUnpin for SendConversionsRequest
impl UnwindSafe for SendConversionsRequest
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