pub struct CustomChannelTargetingInfo {
pub ads_appear_on: Option<String>,
pub description: Option<String>,
pub location: Option<String>,
pub site_language: Option<String>,
}Expand description
The targeting information of this custom channel, if activated.
This type is not used in any activity, and only used as part of another schema.
Fields§
§ads_appear_on: Option<String>The name used to describe this channel externally.
description: Option<String>The external description of the channel.
location: Option<String>The locations in which ads appear. (Only valid for content and mobile content ads). Acceptable values for content ads are: TOP_LEFT, TOP_CENTER, TOP_RIGHT, MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT, BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT, MULTIPLE_LOCATIONS. Acceptable values for mobile content ads are: TOP, MIDDLE, BOTTOM, MULTIPLE_LOCATIONS.
site_language: Option<String>The language of the sites ads will be displayed on.
Trait Implementations§
Source§impl Clone for CustomChannelTargetingInfo
impl Clone for CustomChannelTargetingInfo
Source§fn clone(&self) -> CustomChannelTargetingInfo
fn clone(&self) -> CustomChannelTargetingInfo
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 CustomChannelTargetingInfo
impl Debug for CustomChannelTargetingInfo
Source§impl Default for CustomChannelTargetingInfo
impl Default for CustomChannelTargetingInfo
Source§fn default() -> CustomChannelTargetingInfo
fn default() -> CustomChannelTargetingInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomChannelTargetingInfo
impl<'de> Deserialize<'de> for CustomChannelTargetingInfo
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 NestedType for CustomChannelTargetingInfo
impl Part for CustomChannelTargetingInfo
Auto Trait Implementations§
impl Freeze for CustomChannelTargetingInfo
impl RefUnwindSafe for CustomChannelTargetingInfo
impl Send for CustomChannelTargetingInfo
impl Sync for CustomChannelTargetingInfo
impl Unpin for CustomChannelTargetingInfo
impl UnwindSafe for CustomChannelTargetingInfo
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