[][src]Struct openrtb2::SeatBid

pub struct SeatBid<'a> {
    pub bid: Vec<Bid<'a>>,
    pub seat: Option<Cow<'a, str>>,
    pub group: bool,
    pub ext: Option<Object<'a>>,
}

4.2.2 Object: SeatBid

A bid response can contain multiple SeatBid objects, each on behalf of a different bidder seat and each containing one or more individual bids. If multiple impressions are presented in the request, the group attribute can be used to specify if a seat is willing to accept any impressions that it can win (default) or if it is only interested in winning any if it can win them all as a group.

Fields

bid: Vec<Bid<'a>>

object array; required Array of 1+ Bid objects (Section 4.2.3) each related to an impression. Multiple bids can relate to the same impression.

seat: Option<Cow<'a, str>>

string ID of the buyer seat (e.g., advertiser, agency) on whose behalf this bid is made.

group: bool

integer; default 0 0 = impressions can be won individually; 1 = impressions must be won or lost as a group.

ext: Option<Object<'a>>

object Placeholder for bidder-specific extensions to OpenRTB.

Trait Implementations

impl<'a> Clone for SeatBid<'a>[src]

impl<'a> Debug for SeatBid<'a>[src]

impl<'a> Default for SeatBid<'a>[src]

impl<'de: 'a, 'a> Deserialize<'de> for SeatBid<'a>[src]

impl<'a> PartialEq<SeatBid<'a>> for SeatBid<'a>[src]

impl<'a> Serialize for SeatBid<'a>[src]

impl<'a> StructuralPartialEq for SeatBid<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for SeatBid<'a>

impl<'a> Send for SeatBid<'a>

impl<'a> Sync for SeatBid<'a>

impl<'a> Unpin for SeatBid<'a>

impl<'a> UnwindSafe for SeatBid<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DefaultExt for T where
    T: Default + PartialEq<T>, 
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.