Struct gapi_grpc::google::ads::googleads::v6::common::PolicyTopicEntry[][src]

pub struct PolicyTopicEntry {
    pub topic: String,
    pub type: i32,
    pub evidences: Vec<PolicyTopicEvidence>,
    pub constraints: Vec<PolicyTopicConstraint>,
}

Policy finding attached to a resource (e.g. alcohol policy associated with a site that sells alcohol).

Each PolicyTopicEntry has a topic that indicates the specific ads policy the entry is about and a type to indicate the effect that the entry will have on serving. It may optionally have one or more evidences that indicate the reason for the finding. It may also optionally have one or more constraints that provide details about how serving may be restricted.

Fields

topic: String

Policy topic this finding refers to. For example, “ALCOHOL”, “TRADEMARKS_IN_AD_TEXT”, or “DESTINATION_NOT_WORKING”. The set of possible policy topics is not fixed for a particular API version and may change at any time.

type: i32

Describes the negative or positive effect this policy will have on serving.

evidences: Vec<PolicyTopicEvidence>

Additional information that explains policy finding (e.g. the brand name for a trademark finding).

constraints: Vec<PolicyTopicConstraint>

Indicates how serving of this resource may be affected (e.g. not serving in a country).

Implementations

impl PolicyTopicEntry[src]

pub fn type(&self) -> PolicyTopicEntryType[src]

Returns the enum value of type, or the default if the field is set to an invalid enum value.

pub fn set_type(&mut self, value: PolicyTopicEntryType)[src]

Sets type to the provided enum value.

Trait Implementations

impl Clone for PolicyTopicEntry[src]

impl Debug for PolicyTopicEntry[src]

impl Default for PolicyTopicEntry[src]

impl Message for PolicyTopicEntry[src]

impl PartialEq<PolicyTopicEntry> for PolicyTopicEntry[src]

impl StructuralPartialEq for PolicyTopicEntry[src]

Auto Trait Implementations

impl RefUnwindSafe for PolicyTopicEntry

impl Send for PolicyTopicEntry

impl Sync for PolicyTopicEntry

impl Unpin for PolicyTopicEntry

impl UnwindSafe for PolicyTopicEntry

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]