pub struct FeedItemPlaceholderPolicyInfo {
pub placeholder_type_enum: i32,
pub feed_mapping_resource_name: 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: 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.
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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