Enum google_api_proto::google::ads::googleads::v15::errors::feed_mapping_error_enum::FeedMappingError
source · #[repr(i32)]pub enum FeedMappingError {
Show 20 variants
Unspecified = 0,
Unknown = 1,
InvalidPlaceholderField = 2,
InvalidCriterionField = 3,
InvalidPlaceholderType = 4,
InvalidCriterionType = 5,
NoAttributeFieldMappings = 7,
FeedAttributeTypeMismatch = 8,
CannotOperateOnMappingsForSystemGeneratedFeed = 9,
MultipleMappingsForPlaceholderType = 10,
MultipleMappingsForCriterionType = 11,
MultipleMappingsForPlaceholderField = 12,
MultipleMappingsForCriterionField = 13,
UnexpectedAttributeFieldMappings = 14,
LocationPlaceholderOnlyForPlacesFeeds = 15,
CannotModifyMappingsForTypedFeed = 16,
InvalidPlaceholderTypeForNonSystemGeneratedFeed = 17,
InvalidPlaceholderTypeForSystemGeneratedFeedType = 18,
AttributeFieldMappingMissingField = 19,
LegacyFeedTypeReadOnly = 20,
}
Expand description
Enum describing possible feed item errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
InvalidPlaceholderField = 2
The given placeholder field does not exist.
InvalidCriterionField = 3
The given criterion field does not exist.
InvalidPlaceholderType = 4
The given placeholder type does not exist.
InvalidCriterionType = 5
The given criterion type does not exist.
NoAttributeFieldMappings = 7
A feed mapping must contain at least one attribute field mapping.
FeedAttributeTypeMismatch = 8
The type of the feed attribute referenced in the attribute field mapping must match the type of the placeholder field.
CannotOperateOnMappingsForSystemGeneratedFeed = 9
A feed mapping for a system generated feed cannot be operated on.
MultipleMappingsForPlaceholderType = 10
Only one feed mapping for a placeholder type is allowed per feed or customer (depending on the placeholder type).
MultipleMappingsForCriterionType = 11
Only one feed mapping for a criterion type is allowed per customer.
MultipleMappingsForPlaceholderField = 12
Only one feed attribute mapping for a placeholder field is allowed (depending on the placeholder type).
MultipleMappingsForCriterionField = 13
Only one feed attribute mapping for a criterion field is allowed (depending on the criterion type).
UnexpectedAttributeFieldMappings = 14
This feed mapping may not contain any explicit attribute field mappings.
LocationPlaceholderOnlyForPlacesFeeds = 15
Location placeholder feed mappings can only be created for Places feeds.
CannotModifyMappingsForTypedFeed = 16
Mappings for typed feeds cannot be modified.
InvalidPlaceholderTypeForNonSystemGeneratedFeed = 17
The given placeholder type can only be mapped to system generated feeds.
InvalidPlaceholderTypeForSystemGeneratedFeedType = 18
The given placeholder type cannot be mapped to a system generated feed with the given type.
AttributeFieldMappingMissingField = 19
The “field” oneof was not set in an AttributeFieldMapping.
LegacyFeedTypeReadOnly = 20
Feed is read only.
Implementations§
source§impl FeedMappingError
impl FeedMappingError
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 FeedMappingError
impl Clone for FeedMappingError
source§fn clone(&self) -> FeedMappingError
fn clone(&self) -> FeedMappingError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FeedMappingError
impl Debug for FeedMappingError
source§impl Default for FeedMappingError
impl Default for FeedMappingError
source§fn default() -> FeedMappingError
fn default() -> FeedMappingError
source§impl From<FeedMappingError> for i32
impl From<FeedMappingError> for i32
source§fn from(value: FeedMappingError) -> i32
fn from(value: FeedMappingError) -> i32
source§impl Hash for FeedMappingError
impl Hash for FeedMappingError
source§impl Ord for FeedMappingError
impl Ord for FeedMappingError
source§fn cmp(&self, other: &FeedMappingError) -> Ordering
fn cmp(&self, other: &FeedMappingError) -> 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 FeedMappingError
impl PartialEq for FeedMappingError
source§fn eq(&self, other: &FeedMappingError) -> bool
fn eq(&self, other: &FeedMappingError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FeedMappingError
impl PartialOrd for FeedMappingError
source§fn partial_cmp(&self, other: &FeedMappingError) -> Option<Ordering>
fn partial_cmp(&self, other: &FeedMappingError) -> 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 FeedMappingError
impl TryFrom<i32> for FeedMappingError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<FeedMappingError, DecodeError>
fn try_from(value: i32) -> Result<FeedMappingError, DecodeError>
impl Copy for FeedMappingError
impl Eq for FeedMappingError
impl StructuralPartialEq for FeedMappingError
Auto Trait Implementations§
impl Freeze for FeedMappingError
impl RefUnwindSafe for FeedMappingError
impl Send for FeedMappingError
impl Sync for FeedMappingError
impl Unpin for FeedMappingError
impl UnwindSafe for FeedMappingError
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