pub struct Data {
pub id: Option<String>,
pub name: Option<String>,
pub segment: Option<Vec<Segment>>,
pub ext: Option<Map<String, Value>>,
}
Expand description
3.2.21 Object: Data
The data and segment objects together allow additional data about the related object (e.g., user, content) to be specified. This data may be from multiple sources whether from the exchange itself or third parties as specified by the id field. A bid request can mix data objects from multiple providers. The specific data providers in use should be published by the exchange a priori to its bidders.
Fields§
§id: Option<String>
string Exchange-specific ID for the data provider.
name: Option<String>
string Exchange-specific name for the data provider.
segment: Option<Vec<Segment>>
object array Array of Segment (Section 3.2.22) objects that contain the actual data values.
ext: Option<Map<String, Value>>
object Placeholder for exchange-specific extensions to OpenRTB.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Data
impl<'de> Deserialize<'de> for Data
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 StructuralPartialEq for Data
Auto Trait Implementations§
impl Freeze for Data
impl RefUnwindSafe for Data
impl Send for Data
impl Sync for Data
impl Unpin for Data
impl UnwindSafe for Data
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