pub struct EventTracker {
pub event: EventType,
pub methods: Vec<EventTrackingMethod>,
pub ext: Option<Map<String, Value>>,
}Expand description
4.7 Event Trackers Request Object
The event trackers object specifies the types of events the bidder can request to be tracked in the bid response, and which types of tracking are available for each event type, and is included as an array in the request.
Fields§
§event: EventTyperequired; integer; - Type of event available for tracking. See Event Types table.
methods: Vec<EventTrackingMethod>required; array of integer; - Array of the types of tracking available for the given event. See Event Tracking Methods table.
ext: Option<Map<String, Value>>optional; object; - This object is a placeholder that may contain custom JSON agreed to by the parties to support flexibility beyond the standard defined in this specification.
Trait Implementations§
Source§impl Clone for EventTracker
impl Clone for EventTracker
Source§fn clone(&self) -> EventTracker
fn clone(&self) -> EventTracker
Returns a duplicate of the value. Read more
1.0.0 · 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 EventTracker
impl Debug for EventTracker
Source§impl<'de> Deserialize<'de> for EventTracker
impl<'de> Deserialize<'de> for EventTracker
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 EventTracker
impl PartialEq for EventTracker
Source§impl Serialize for EventTracker
impl Serialize for EventTracker
impl StructuralPartialEq for EventTracker
Auto Trait Implementations§
impl Freeze for EventTracker
impl RefUnwindSafe for EventTracker
impl Send for EventTracker
impl Sync for EventTracker
impl Unpin for EventTracker
impl UnwindSafe for EventTracker
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