pub struct ContentAdsSettings {
pub size: Option<String>,
pub type_: Option<String>,
}Expand description
Settings specific to content ads (AFC).
This type is not used in any activity, and only used as part of another schema.
Fields§
§size: Option<String>Required. Size of the ad unit. e.g. “728x90”, “1x3” (for responsive ad units).
type_: Option<String>Required. Type of the ad unit.
Trait Implementations§
Source§impl Clone for ContentAdsSettings
impl Clone for ContentAdsSettings
Source§fn clone(&self) -> ContentAdsSettings
fn clone(&self) -> ContentAdsSettings
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 ContentAdsSettings
impl Debug for ContentAdsSettings
Source§impl Default for ContentAdsSettings
impl Default for ContentAdsSettings
Source§fn default() -> ContentAdsSettings
fn default() -> ContentAdsSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContentAdsSettings
impl<'de> Deserialize<'de> for ContentAdsSettings
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 ContentAdsSettings
impl Serialize for ContentAdsSettings
impl Part for ContentAdsSettings
Auto Trait Implementations§
impl Freeze for ContentAdsSettings
impl RefUnwindSafe for ContentAdsSettings
impl Send for ContentAdsSettings
impl Sync for ContentAdsSettings
impl Unpin for ContentAdsSettings
impl UnwindSafe for ContentAdsSettings
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