Enum google_api_proto::google::ads::googleads::v14::enums::feed_item_quality_disapproval_reason_enum::FeedItemQualityDisapprovalReason
source · #[repr(i32)]pub enum FeedItemQualityDisapprovalReason {
Show 20 variants
Unspecified = 0,
Unknown = 1,
PriceTableRepetitiveHeaders = 2,
PriceTableRepetitiveDescription = 3,
PriceTableInconsistentRows = 4,
PriceDescriptionHasPriceQualifiers = 5,
PriceUnsupportedLanguage = 6,
PriceTableRowHeaderTableTypeMismatch = 7,
PriceTableRowHeaderHasPromotionalText = 8,
PriceTableRowDescriptionNotRelevant = 9,
PriceTableRowDescriptionHasPromotionalText = 10,
PriceTableRowHeaderDescriptionRepetitive = 11,
PriceTableRowUnrateable = 12,
PriceTableRowPriceInvalid = 13,
PriceTableRowUrlInvalid = 14,
PriceHeaderOrDescriptionHasPrice = 15,
StructuredSnippetsHeaderPolicyViolated = 16,
StructuredSnippetsRepeatedValues = 17,
StructuredSnippetsEditorialGuidelines = 18,
StructuredSnippetsHasPromotionalText = 19,
}
Expand description
The possible quality evaluation disapproval reasons of a feed item.
Variants§
Unspecified = 0
No value has been specified.
Unknown = 1
Used for return value only. Represents value unknown in this version.
PriceTableRepetitiveHeaders = 2
Price contains repetitive headers.
PriceTableRepetitiveDescription = 3
Price contains repetitive description.
PriceTableInconsistentRows = 4
Price contains inconsistent items.
PriceDescriptionHasPriceQualifiers = 5
Price contains qualifiers in description.
PriceUnsupportedLanguage = 6
Price contains an unsupported language.
PriceTableRowHeaderTableTypeMismatch = 7
Price item header is not relevant to the price type.
PriceTableRowHeaderHasPromotionalText = 8
Price item header has promotional text.
PriceTableRowDescriptionNotRelevant = 9
Price item description is not relevant to the item header.
PriceTableRowDescriptionHasPromotionalText = 10
Price item description contains promotional text.
PriceTableRowHeaderDescriptionRepetitive = 11
Price item header and description are repetitive.
PriceTableRowUnrateable = 12
Price item is in a foreign language, nonsense, or can’t be rated.
PriceTableRowPriceInvalid = 13
Price item price is invalid or inaccurate.
PriceTableRowUrlInvalid = 14
Price item URL is invalid or irrelevant.
PriceHeaderOrDescriptionHasPrice = 15
Price item header or description has price.
StructuredSnippetsHeaderPolicyViolated = 16
Structured snippet values do not match the header.
StructuredSnippetsRepeatedValues = 17
Structured snippet values are repeated.
StructuredSnippetsEditorialGuidelines = 18
Structured snippet values violate editorial guidelines like punctuation.
StructuredSnippetsHasPromotionalText = 19
Structured snippet contain promotional text.
Implementations§
source§impl FeedItemQualityDisapprovalReason
impl FeedItemQualityDisapprovalReason
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of FeedItemQualityDisapprovalReason
.
sourcepub fn from_i32(value: i32) -> Option<FeedItemQualityDisapprovalReason>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<FeedItemQualityDisapprovalReason>
Converts an i32
to a FeedItemQualityDisapprovalReason
, or None
if value
is not a valid variant.
source§impl FeedItemQualityDisapprovalReason
impl FeedItemQualityDisapprovalReason
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for FeedItemQualityDisapprovalReason
impl Clone for FeedItemQualityDisapprovalReason
source§fn clone(&self) -> FeedItemQualityDisapprovalReason
fn clone(&self) -> FeedItemQualityDisapprovalReason
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for FeedItemQualityDisapprovalReason
impl Default for FeedItemQualityDisapprovalReason
source§fn default() -> FeedItemQualityDisapprovalReason
fn default() -> FeedItemQualityDisapprovalReason
source§impl From<FeedItemQualityDisapprovalReason> for i32
impl From<FeedItemQualityDisapprovalReason> for i32
source§fn from(value: FeedItemQualityDisapprovalReason) -> i32
fn from(value: FeedItemQualityDisapprovalReason) -> i32
source§impl Ord for FeedItemQualityDisapprovalReason
impl Ord for FeedItemQualityDisapprovalReason
source§fn cmp(&self, other: &FeedItemQualityDisapprovalReason) -> Ordering
fn cmp(&self, other: &FeedItemQualityDisapprovalReason) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for FeedItemQualityDisapprovalReason
impl PartialEq for FeedItemQualityDisapprovalReason
source§fn eq(&self, other: &FeedItemQualityDisapprovalReason) -> bool
fn eq(&self, other: &FeedItemQualityDisapprovalReason) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FeedItemQualityDisapprovalReason
impl PartialOrd for FeedItemQualityDisapprovalReason
source§fn partial_cmp(
&self,
other: &FeedItemQualityDisapprovalReason
) -> Option<Ordering>
fn partial_cmp( &self, other: &FeedItemQualityDisapprovalReason ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for FeedItemQualityDisapprovalReason
impl TryFrom<i32> for FeedItemQualityDisapprovalReason
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<FeedItemQualityDisapprovalReason, DecodeError>
fn try_from(value: i32) -> Result<FeedItemQualityDisapprovalReason, DecodeError>
impl Copy for FeedItemQualityDisapprovalReason
impl Eq for FeedItemQualityDisapprovalReason
impl StructuralPartialEq for FeedItemQualityDisapprovalReason
Auto Trait Implementations§
impl Freeze for FeedItemQualityDisapprovalReason
impl RefUnwindSafe for FeedItemQualityDisapprovalReason
impl Send for FeedItemQualityDisapprovalReason
impl Sync for FeedItemQualityDisapprovalReason
impl Unpin for FeedItemQualityDisapprovalReason
impl UnwindSafe for FeedItemQualityDisapprovalReason
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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