pub struct AdUnitContentAdsSettings {
pub backup_option: Option<AdUnitContentAdsSettingsBackupOption>,
pub size: Option<String>,
pub type_: Option<String>,
}Expand description
Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).
This type is not used in any activity, and only used as part of another schema.
Fields§
§backup_option: Option<AdUnitContentAdsSettingsBackupOption>The backup option to be used in instances where no ad is available.
size: Option<String>Size of this ad unit. Size values are in the form SIZE_{width}_{height}.
type_: Option<String>Type of this ad unit. Possible values are TEXT, TEXT_IMAGE, IMAGE and LINK.
Trait Implementations§
Source§impl Clone for AdUnitContentAdsSettings
impl Clone for AdUnitContentAdsSettings
Source§fn clone(&self) -> AdUnitContentAdsSettings
fn clone(&self) -> AdUnitContentAdsSettings
Returns a duplicate 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 AdUnitContentAdsSettings
impl Debug for AdUnitContentAdsSettings
Source§impl Default for AdUnitContentAdsSettings
impl Default for AdUnitContentAdsSettings
Source§fn default() -> AdUnitContentAdsSettings
fn default() -> AdUnitContentAdsSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdUnitContentAdsSettings
impl<'de> Deserialize<'de> for AdUnitContentAdsSettings
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 Serialize for AdUnitContentAdsSettings
impl Serialize for AdUnitContentAdsSettings
impl NestedType for AdUnitContentAdsSettings
impl Part for AdUnitContentAdsSettings
Auto Trait Implementations§
impl Freeze for AdUnitContentAdsSettings
impl RefUnwindSafe for AdUnitContentAdsSettings
impl Send for AdUnitContentAdsSettings
impl Sync for AdUnitContentAdsSettings
impl Unpin for AdUnitContentAdsSettings
impl UnwindSafe for AdUnitContentAdsSettings
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