pub enum PlacementType {
InFeed,
AtomicUnit,
Outside,
Recommendation,
ExchangeSpecific(i32),
}
Expand description
7.3 Placement Type IDs
The FORMAT of the ad you are purchasing, separate from the surrounding context
Variants§
InFeed
In the feed of content - for example as an item inside the organic feed/grid/listing/carousel.
AtomicUnit
In the atomic unit of the content - IE in the article page or single image page.
Outside
Outside the core content - for example in the ads section on the right rail, as a banner-style placement near the content, etc.
Recommendation
Recommendation widget, most commonly presented below the article content.
ExchangeSpecific(i32)
To be defined by the exchange
Trait Implementations§
Source§impl Clone for PlacementType
impl Clone for PlacementType
Source§fn clone(&self) -> PlacementType
fn clone(&self) -> PlacementType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PlacementType
impl Debug for PlacementType
Source§impl<'de> Deserialize<'de> for PlacementType
impl<'de> Deserialize<'de> for PlacementType
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
Source§impl PartialEq for PlacementType
impl PartialEq for PlacementType
Source§impl Serialize for PlacementType
impl Serialize for PlacementType
impl Copy for PlacementType
impl Eq for PlacementType
impl StructuralPartialEq for PlacementType
Auto Trait Implementations§
impl Freeze for PlacementType
impl RefUnwindSafe for PlacementType
impl Send for PlacementType
impl Sync for PlacementType
impl Unpin for PlacementType
impl UnwindSafe for PlacementType
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