Struct primitives::platform::AdSlotResponse
source · pub struct AdSlotResponse {
pub slot: AdSlot,
pub fallback: Option<AdUnit>,
pub website: Option<Website>,
}
Fields
slot: AdSlot
fallback: Option<AdUnit>
The fetched Fallback AdUnit
( AdSlot.fallback_unit
) of the AdSlot
if set.
website: Option<Website>
The AdSlot.website
information if it’s provided and information is available for it.
Trait Implementations
sourceimpl Clone for AdSlotResponse
impl Clone for AdSlotResponse
sourcefn clone(&self) -> AdSlotResponse
fn clone(&self) -> AdSlotResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AdSlotResponse
impl Debug for AdSlotResponse
sourceimpl<'de> Deserialize<'de> for AdSlotResponse
impl<'de> Deserialize<'de> for AdSlotResponse
sourcefn 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
sourceimpl PartialEq<AdSlotResponse> for AdSlotResponse
impl PartialEq<AdSlotResponse> for AdSlotResponse
sourcefn eq(&self, other: &AdSlotResponse) -> bool
fn eq(&self, other: &AdSlotResponse) -> bool
sourceimpl Serialize for AdSlotResponse
impl Serialize for AdSlotResponse
impl StructuralPartialEq for AdSlotResponse
Auto Trait Implementations
impl RefUnwindSafe for AdSlotResponse
impl Send for AdSlotResponse
impl Sync for AdSlotResponse
impl Unpin for AdSlotResponse
impl UnwindSafe for AdSlotResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more