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