pub struct AdUnitFeedAdsSettings {
pub ad_position: Option<String>,
pub frequency: Option<i32>,
pub minimum_word_count: Option<i32>,
pub type_: Option<String>,
}Expand description
Settings specific to feed ads (AFF) - deprecated.
This type is not used in any activity, and only used as part of another schema.
Fields§
§ad_position: Option<String>The position of the ads relative to the feed entries.
frequency: Option<i32>The frequency at which ads should appear in the feed (i.e. every N entries).
minimum_word_count: Option<i32>The minimum length an entry should be in order to have attached ads.
type_: Option<String>The type of ads which should appear.
Trait Implementations§
Source§impl Clone for AdUnitFeedAdsSettings
impl Clone for AdUnitFeedAdsSettings
Source§fn clone(&self) -> AdUnitFeedAdsSettings
fn clone(&self) -> AdUnitFeedAdsSettings
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 AdUnitFeedAdsSettings
impl Debug for AdUnitFeedAdsSettings
Source§impl Default for AdUnitFeedAdsSettings
impl Default for AdUnitFeedAdsSettings
Source§fn default() -> AdUnitFeedAdsSettings
fn default() -> AdUnitFeedAdsSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdUnitFeedAdsSettings
impl<'de> Deserialize<'de> for AdUnitFeedAdsSettings
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 AdUnitFeedAdsSettings
impl Serialize for AdUnitFeedAdsSettings
impl NestedType for AdUnitFeedAdsSettings
impl Part for AdUnitFeedAdsSettings
Auto Trait Implementations§
impl Freeze for AdUnitFeedAdsSettings
impl RefUnwindSafe for AdUnitFeedAdsSettings
impl Send for AdUnitFeedAdsSettings
impl Sync for AdUnitFeedAdsSettings
impl Unpin for AdUnitFeedAdsSettings
impl UnwindSafe for AdUnitFeedAdsSettings
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