[][src]Enum openrtb_native1::ContextType

pub enum ContextType {
    Content,
    Social,
    Product,
    ExchangeSpecific(i32),
}

7.1 Context Type IDs

The context in which the ad appears - what type of content is surrounding the ad on the page at a high level. This maps directly to the new Deep Dive on In-Feed Ad Units. This denotes the primary context, but does not imply other content may not exist on the page - for example it's expected that most content platforms have some social components, etc.

Variants

Content

Content-centric context such as newsfeed, article, image gallery, video gallery, or similar.

Social

Social-centric context such as social network feed, email, chat, or similar.

Product

Product context such as product listings, details, recommendations, reviews, or similar.

ExchangeSpecific(i32)

To be defined by the exchange.

Trait Implementations

impl Clone for ContextType[src]

impl Copy for ContextType[src]

impl Debug for ContextType[src]

impl<'de> Deserialize<'de> for ContextType[src]

impl Eq for ContextType[src]

impl PartialEq<ContextType> for ContextType[src]

impl Serialize for ContextType[src]

impl StructuralEq for ContextType[src]

impl StructuralPartialEq for ContextType[src]

Auto Trait Implementations

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> 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.