pub struct PolicyTopic {
pub must_fix: Option<bool>,
pub topic: Option<String>,
pub type_: Option<String>,
}Expand description
Information about a particular policy topic. A policy topic represents a single class of policy issue that can impact ad serving for your site. For example, sexual content or having ads that obscure your content. A single policy issue can have multiple policy topics for a single entity.
This type is not used in any activity, and only used as part of another schema.
Fields§
§must_fix: Option<bool>Required. Deprecated. Always set to false.
topic: Option<String>Required. The policy topic. For example, “sexual-content” or “ads-obscuring-content”.“
type_: Option<String>Optional. The type of policy topic. For example, “POLICY” represents all the policy topics that are related to the Google Publisher Policy (GPP). See https://support.google.com/adsense/answer/15689616.
Trait Implementations§
Source§impl Clone for PolicyTopic
impl Clone for PolicyTopic
Source§fn clone(&self) -> PolicyTopic
fn clone(&self) -> PolicyTopic
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 PolicyTopic
impl Debug for PolicyTopic
Source§impl Default for PolicyTopic
impl Default for PolicyTopic
Source§fn default() -> PolicyTopic
fn default() -> PolicyTopic
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyTopic
impl<'de> Deserialize<'de> for PolicyTopic
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 PolicyTopic
impl Serialize for PolicyTopic
impl Part for PolicyTopic
Auto Trait Implementations§
impl Freeze for PolicyTopic
impl RefUnwindSafe for PolicyTopic
impl Send for PolicyTopic
impl Sync for PolicyTopic
impl Unpin for PolicyTopic
impl UnwindSafe for PolicyTopic
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