[][src]Enum openrtb_native1::ContextSubType

pub enum ContextSubType {
    GeneralOrMixed,
    Article,
    Video,
    Audio,
    Image,
    UserGenerated,
    Social,
    Email,
    Chat,
    Selling,
    Marketplace,
    Review,
    ExchangeSpecific(i32),
}

7.2 Context Sub Type IDs

Next-level context in which the ad appears. Again this reflects the primary context, and does not imply no presence of other elements. For example, an article is likely to contain images but is still first and foremost an article. SubType should only be combined with the primary context type as indicated (ie for a context type of 1, only context subtypes that start with 1 are valid).

Variants

GeneralOrMixed

General or mixed content

Article

Primarily article content (which of course could include images, etc 11 as part of the article)

Video

Primarily video content

Audio

Primarily audio content

Image

Primarily image content

UserGenerated

User-generated content - forums, comments, etc

Social

General social content such as a general social network

Email

Primarily email content

Chat

Primarily chat/IM content

Selling

Content focused on selling products, whether digital or physical

Marketplace

Application store/marketplace

Review

Product reviews site primarily (which may sell product secondarily)

ExchangeSpecific(i32)

To be defined by the exchange

Trait Implementations

impl Clone for ContextSubType[src]

impl Copy for ContextSubType[src]

impl Debug for ContextSubType[src]

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

impl Eq for ContextSubType[src]

impl PartialEq<ContextSubType> for ContextSubType[src]

impl Serialize for ContextSubType[src]

impl StructuralEq for ContextSubType[src]

impl StructuralPartialEq for ContextSubType[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.