pub struct AdSlot {
pub comment: Option<String>,
pub linked_placement_id: Option<String>,
pub name: Option<String>,
pub primary: Option<bool>,
pub height: Option<String>,
pub width: Option<String>,
pub payment_source_type: Option<String>,
pub compatibility: Option<String>,
}Expand description
Ad Slot
This type is not used in any activity, and only used as part of another schema.
Fields§
§comment: Option<String>Comment for this ad slot.
linked_placement_id: Option<String>ID of the placement from an external platform that is linked to this ad slot.
name: Option<String>Name of this ad slot.
primary: Option<bool>Primary ad slot of a roadblock inventory item.
height: Option<String>Height of this ad slot.
width: Option<String>Width of this ad slot.
payment_source_type: Option<String>Payment source type of this ad slot.
compatibility: Option<String>Ad slot compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop, mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AdSlot
impl<'de> Deserialize<'de> for AdSlot
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
impl Part for AdSlot
Auto Trait Implementations§
impl Freeze for AdSlot
impl RefUnwindSafe for AdSlot
impl Send for AdSlot
impl Sync for AdSlot
impl Unpin for AdSlot
impl UnwindSafe for AdSlot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more