Enum googapis::google::ads::googleads::v7::errors::feed_mapping_error_enum::FeedMappingError[][src]

#[repr(i32)]
pub enum FeedMappingError {
Show 19 variants Unspecified, Unknown, InvalidPlaceholderField, InvalidCriterionField, InvalidPlaceholderType, InvalidCriterionType, NoAttributeFieldMappings, FeedAttributeTypeMismatch, CannotOperateOnMappingsForSystemGeneratedFeed, MultipleMappingsForPlaceholderType, MultipleMappingsForCriterionType, MultipleMappingsForPlaceholderField, MultipleMappingsForCriterionField, UnexpectedAttributeFieldMappings, LocationPlaceholderOnlyForPlacesFeeds, CannotModifyMappingsForTypedFeed, InvalidPlaceholderTypeForNonSystemGeneratedFeed, InvalidPlaceholderTypeForSystemGeneratedFeedType, AttributeFieldMappingMissingField,
}
Expand description

Enum describing possible feed item errors.

Variants

Unspecified

Enum unspecified.

Unknown

The received error code is not known in this version.

InvalidPlaceholderField

The given placeholder field does not exist.

InvalidCriterionField

The given criterion field does not exist.

InvalidPlaceholderType

The given placeholder type does not exist.

InvalidCriterionType

The given criterion type does not exist.

NoAttributeFieldMappings

A feed mapping must contain at least one attribute field mapping.

FeedAttributeTypeMismatch

The type of the feed attribute referenced in the attribute field mapping must match the type of the placeholder field.

CannotOperateOnMappingsForSystemGeneratedFeed

A feed mapping for a system generated feed cannot be operated on.

MultipleMappingsForPlaceholderType

Only one feed mapping for a placeholder type is allowed per feed or customer (depending on the placeholder type).

MultipleMappingsForCriterionType

Only one feed mapping for a criterion type is allowed per customer.

MultipleMappingsForPlaceholderField

Only one feed attribute mapping for a placeholder field is allowed (depending on the placeholder type).

MultipleMappingsForCriterionField

Only one feed attribute mapping for a criterion field is allowed (depending on the criterion type).

UnexpectedAttributeFieldMappings

This feed mapping may not contain any explicit attribute field mappings.

LocationPlaceholderOnlyForPlacesFeeds

Location placeholder feed mappings can only be created for Places feeds.

CannotModifyMappingsForTypedFeed

Mappings for typed feeds cannot be modified.

InvalidPlaceholderTypeForNonSystemGeneratedFeed

The given placeholder type can only be mapped to system generated feeds.

InvalidPlaceholderTypeForSystemGeneratedFeedType

The given placeholder type cannot be mapped to a system generated feed with the given type.

AttributeFieldMappingMissingField

The “field” oneof was not set in an AttributeFieldMapping.

Implementations

Returns true if value is a variant of FeedMappingError.

Converts an i32 to a FeedMappingError, or None if value is not a valid variant.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Performs the conversion.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more