Struct google_api_proto::google::ads::googleads::v16::resources::FeedItemPlaceholderPolicyInfo
source · 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>,
}
Expand description
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 placeholder 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§
source§impl FeedItemPlaceholderPolicyInfo
impl FeedItemPlaceholderPolicyInfo
sourcepub fn review_status(&self) -> PolicyReviewStatus
pub fn review_status(&self) -> PolicyReviewStatus
Returns the enum value of review_status
, or the default if the field is set to an invalid enum value.
sourcepub fn set_review_status(&mut self, value: PolicyReviewStatus)
pub fn set_review_status(&mut self, value: PolicyReviewStatus)
Sets review_status
to the provided enum value.
sourcepub fn approval_status(&self) -> PolicyApprovalStatus
pub fn approval_status(&self) -> PolicyApprovalStatus
Returns the enum value of approval_status
, or the default if the field is set to an invalid enum value.
sourcepub fn set_approval_status(&mut self, value: PolicyApprovalStatus)
pub fn set_approval_status(&mut self, value: PolicyApprovalStatus)
Sets approval_status
to the provided enum value.
sourcepub fn validation_status(&self) -> FeedItemValidationStatus
pub fn validation_status(&self) -> FeedItemValidationStatus
Returns the enum value of validation_status
, or the default if the field is set to an invalid enum value.
sourcepub fn set_validation_status(&mut self, value: FeedItemValidationStatus)
pub fn set_validation_status(&mut self, value: FeedItemValidationStatus)
Sets validation_status
to the provided enum value.
sourcepub fn quality_approval_status(&self) -> FeedItemQualityApprovalStatus
pub fn quality_approval_status(&self) -> FeedItemQualityApprovalStatus
Returns the enum value of quality_approval_status
, or the default if the field is set to an invalid enum value.
sourcepub fn set_quality_approval_status(
&mut self,
value: FeedItemQualityApprovalStatus,
)
pub fn set_quality_approval_status( &mut self, value: FeedItemQualityApprovalStatus, )
Sets quality_approval_status
to the provided enum value.
sourcepub fn quality_disapproval_reasons(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<FeedItemQualityDisapprovalReason>>
pub fn quality_disapproval_reasons( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<FeedItemQualityDisapprovalReason>>
Returns an iterator which yields the valid enum values contained in quality_disapproval_reasons
.
sourcepub fn push_quality_disapproval_reasons(
&mut self,
value: FeedItemQualityDisapprovalReason,
)
pub fn push_quality_disapproval_reasons( &mut self, value: FeedItemQualityDisapprovalReason, )
Appends the provided enum value to quality_disapproval_reasons
.
sourcepub fn placeholder_type_enum(&self) -> PlaceholderType
pub fn placeholder_type_enum(&self) -> PlaceholderType
Returns the enum value of placeholder_type_enum
, or the default if the field is set to an invalid enum value.
sourcepub fn set_placeholder_type_enum(&mut self, value: PlaceholderType)
pub fn set_placeholder_type_enum(&mut self, value: PlaceholderType)
Sets placeholder_type_enum
to the provided enum value.
sourcepub fn feed_mapping_resource_name(&self) -> &str
pub fn feed_mapping_resource_name(&self) -> &str
Returns the value of feed_mapping_resource_name
, or the default value if feed_mapping_resource_name
is unset.
Trait Implementations§
source§impl Clone for FeedItemPlaceholderPolicyInfo
impl Clone for FeedItemPlaceholderPolicyInfo
source§fn clone(&self) -> FeedItemPlaceholderPolicyInfo
fn clone(&self) -> FeedItemPlaceholderPolicyInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for FeedItemPlaceholderPolicyInfo
impl Message for FeedItemPlaceholderPolicyInfo
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for FeedItemPlaceholderPolicyInfo
impl PartialEq for FeedItemPlaceholderPolicyInfo
source§fn eq(&self, other: &FeedItemPlaceholderPolicyInfo) -> bool
fn eq(&self, other: &FeedItemPlaceholderPolicyInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FeedItemPlaceholderPolicyInfo
Auto Trait Implementations§
impl Freeze for FeedItemPlaceholderPolicyInfo
impl RefUnwindSafe for FeedItemPlaceholderPolicyInfo
impl Send for FeedItemPlaceholderPolicyInfo
impl Sync for FeedItemPlaceholderPolicyInfo
impl Unpin for FeedItemPlaceholderPolicyInfo
impl UnwindSafe for FeedItemPlaceholderPolicyInfo
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request