pub struct Segment {
pub id: Option<String>,
pub name: Option<String>,
pub value: Option<String>,
pub ext: Option<Map<String, Value>>,
}
Expand description
3.2.22 Object: Segment
Segment objects are essentially key-value pairs that convey specific units of data. The parent Data object is a collection of such values from a given data provider. The specific segment names and value options must be published by the exchange a priori to its bidders.
Fields§
§id: Option<String>
string ID of the data segment specific to the data provider.
name: Option<String>
string Name of the data segment specific to the data provider.
value: Option<String>
string String representation of the data segment value.
ext: Option<Map<String, Value>>
object Placeholder for exchange-specific extensions to OpenRTB.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Segment
impl<'de> Deserialize<'de> for Segment
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