[−][src]Enum openrtb_native1::ContextType
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-centric context such as newsfeed, article, image gallery, video gallery, or similar.
Social-centric context such as social network feed, email, chat, or similar.
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]
pub fn clone(&self) -> ContextType[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for ContextType[src]
impl Debug for ContextType[src]
impl<'de> Deserialize<'de> for ContextType[src]
pub fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
impl Eq for ContextType[src]
impl PartialEq<ContextType> for ContextType[src]
pub fn eq(&self, other: &ContextType) -> bool[src]
pub fn ne(&self, other: &ContextType) -> bool[src]
impl Serialize for ContextType[src]
impl StructuralEq for ContextType[src]
impl StructuralPartialEq for ContextType[src]
Auto Trait Implementations
impl RefUnwindSafe for ContextType
impl Send for ContextType
impl Sync for ContextType
impl Unpin for ContextType
impl UnwindSafe for ContextType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,