Struct gapi_grpc::google::ads::googleads::v4::resources::FeedItemPlaceholderPolicyInfo[][src]

pub struct FeedItemPlaceholderPolicyInfo {
    pub placeholder_type_enum: i32,
    pub feed_mapping_resource_name: Option<String>,
    pub review_status: i32,
    pub approval_status: i32,
    pub policy_topic_entries: Vec<PolicyTopicEntry>,
    pub validation_status: i32,
    pub validation_errors: Vec<FeedItemValidationError>,
    pub quality_approval_status: i32,
    pub quality_disapproval_reasons: Vec<i32>,
}

Policy, validation, and quality approval info for a feed item for the specified placeholder type.

Fields

placeholder_type_enum: i32

Output only. The placeholder type.

feed_mapping_resource_name: Option<String>

Output only. The FeedMapping that contains the placeholder type.

review_status: i32

Output only. Where the placeholder type is in the review process.

approval_status: i32

Output only. The overall approval status of the placeholder type, calculated based on the status of its individual policy topic entries.

policy_topic_entries: Vec<PolicyTopicEntry>

Output only. The list of policy findings for the placeholder type.

validation_status: i32

Output only. The validation status of the palceholder type.

validation_errors: Vec<FeedItemValidationError>

Output only. List of placeholder type validation errors.

quality_approval_status: i32

Output only. Placeholder type quality evaluation approval status.

quality_disapproval_reasons: Vec<i32>

Output only. List of placeholder type quality evaluation disapproval reasons.

Implementations

impl FeedItemPlaceholderPolicyInfo[src]

pub fn review_status(&self) -> PolicyReviewStatus[src]

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

pub fn set_review_status(&mut self, value: PolicyReviewStatus)[src]

Sets review_status to the provided enum value.

pub fn approval_status(&self) -> PolicyApprovalStatus[src]

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

pub fn set_approval_status(&mut self, value: PolicyApprovalStatus)[src]

Sets approval_status to the provided enum value.

pub fn validation_status(&self) -> FeedItemValidationStatus[src]

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

pub fn set_validation_status(&mut self, value: FeedItemValidationStatus)[src]

Sets validation_status to the provided enum value.

pub fn quality_approval_status(&self) -> FeedItemQualityApprovalStatus[src]

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

pub fn set_quality_approval_status(
    &mut self,
    value: FeedItemQualityApprovalStatus
)
[src]

Sets quality_approval_status to the provided enum value.

pub fn quality_disapproval_reasons(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<FeedItemQualityDisapprovalReason>>
[src]

Returns an iterator which yields the valid enum values contained in quality_disapproval_reasons.

pub fn push_quality_disapproval_reasons(
    &mut self,
    value: FeedItemQualityDisapprovalReason
)
[src]

Appends the provided enum value to quality_disapproval_reasons.

pub fn placeholder_type_enum(&self) -> PlaceholderType[src]

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

pub fn set_placeholder_type_enum(&mut self, value: PlaceholderType)[src]

Sets placeholder_type_enum to the provided enum value.

Trait Implementations

impl Clone for FeedItemPlaceholderPolicyInfo[src]

impl Debug for FeedItemPlaceholderPolicyInfo[src]

impl Default for FeedItemPlaceholderPolicyInfo[src]

impl Message for FeedItemPlaceholderPolicyInfo[src]

impl PartialEq<FeedItemPlaceholderPolicyInfo> for FeedItemPlaceholderPolicyInfo[src]

impl StructuralPartialEq for FeedItemPlaceholderPolicyInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for FeedItemPlaceholderPolicyInfo

impl Send for FeedItemPlaceholderPolicyInfo

impl Sync for FeedItemPlaceholderPolicyInfo

impl Unpin for FeedItemPlaceholderPolicyInfo

impl UnwindSafe for FeedItemPlaceholderPolicyInfo

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]