Struct gapi_grpc::google::ads::googleads::v7::resources::FeedItemPlaceholderPolicyInfo [−][src]
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: 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]
&mut self,
value: FeedItemQualityApprovalStatus
)
Sets quality_approval_status
to the provided enum value.
pub fn quality_disapproval_reasons(
&self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<FeedItemQualityDisapprovalReason>>
[src]
&self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<FeedItemQualityDisapprovalReason>>
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]
&mut self,
value: FeedItemQualityDisapprovalReason
)
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]
fn clone(&self) -> FeedItemPlaceholderPolicyInfo
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FeedItemPlaceholderPolicyInfo
[src]
impl Default for FeedItemPlaceholderPolicyInfo
[src]
impl Message for FeedItemPlaceholderPolicyInfo
[src]
fn encode_raw<B>(&self, buf: &mut B) where
B: BufMut,
[src]
B: BufMut,
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
[src]
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
fn encoded_len(&self) -> usize
[src]
fn clear(&mut self)
[src]
pub fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
pub fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
pub fn decode<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
Self: Default,
B: Buf,
pub fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
Self: Default,
B: Buf,
pub fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
pub fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
impl PartialEq<FeedItemPlaceholderPolicyInfo> for FeedItemPlaceholderPolicyInfo
[src]
fn eq(&self, other: &FeedItemPlaceholderPolicyInfo) -> bool
[src]
fn ne(&self, other: &FeedItemPlaceholderPolicyInfo) -> bool
[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
pub fn into_request(self) -> Request<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,