pub struct Deal {
pub id: String,
pub bidfloor: Option<f64>,
pub bidfloorcur: Option<String>,
pub at: Option<i64>,
pub wseat: Option<Vec<String>>,
pub wadomain: Option<Vec<String>>,
pub guar: Option<i64>,
pub mincpmpersec: Option<f64>,
pub durfloors: Option<Vec<DurFloors>>,
pub ext: Option<Value>,
}Expand description
Constitutes a specific deal struck between a buyer and a seller.
Fields§
§id: StringUnique identifier for the direct deal.
bidfloor: Option<f64>Minimum bid for this impression expressed in CPM.
bidfloorcur: Option<String>Currency for bidfloor (ISO-4217 alpha codes).
at: Option<i64>Optional override of overall auction type (1=First Price, 2=Second Price Plus, 3=Deal Price).
wseat: Option<Vec<String>>Allowed list of buyer seats for this deal.
wadomain: Option<Vec<String>>Array of advertiser domains allowed for this deal.
guar: Option<i64>Indicates if deal is ‘guaranteed’ (0 = not guaranteed, 1 = guaranteed).
mincpmpersec: Option<f64>Minimum CPM per second for video/audio opportunities.
durfloors: Option<Vec<DurFloors>>Container for floor price by duration information (video/audio).
ext: Option<Value>Placeholder for exchange-specific extensions.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Deal
impl<'de> Deserialize<'de> for Deal
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 Deal
Auto Trait Implementations§
impl Freeze for Deal
impl RefUnwindSafe for Deal
impl Send for Deal
impl Sync for Deal
impl Unpin for Deal
impl UnsafeUnpin for Deal
impl UnwindSafe for Deal
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