Enum google_api_proto::google::ads::googleads::v16::errors::feed_item_set_error_enum::FeedItemSetError
source · #[repr(i32)]pub enum FeedItemSetError {
Unspecified = 0,
Unknown = 1,
FeedItemSetRemoved = 2,
CannotClearDynamicFilter = 3,
CannotCreateDynamicFilter = 4,
InvalidFeedType = 5,
DuplicateName = 6,
WrongDynamicFilterForFeedType = 7,
DynamicFilterInvalidChainIds = 8,
}
Expand description
Enum describing possible feed item set errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
FeedItemSetRemoved = 2
The given ID refers to a removed FeedItemSet.
CannotClearDynamicFilter = 3
The dynamic filter of a feed item set cannot be cleared on UPDATE if it exists. A set is either static or dynamic once added, and that cannot change.
CannotCreateDynamicFilter = 4
The dynamic filter of a feed item set cannot be created on UPDATE if it does not exist. A set is either static or dynamic once added, and that cannot change.
InvalidFeedType = 5
FeedItemSets can only be made for location or affiliate location feeds.
DuplicateName = 6
FeedItemSets duplicate name. Name should be unique within an account.
WrongDynamicFilterForFeedType = 7
The feed type of the parent Feed is not compatible with the type of dynamic filter being set. For example, you can only set dynamic_location_set_filter for LOCATION feed item sets.
DynamicFilterInvalidChainIds = 8
Chain ID specified for AffiliateLocationFeedData is invalid.
Implementations§
source§impl FeedItemSetError
impl FeedItemSetError
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 FeedItemSetError
impl Clone for FeedItemSetError
source§fn clone(&self) -> FeedItemSetError
fn clone(&self) -> FeedItemSetError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FeedItemSetError
impl Debug for FeedItemSetError
source§impl Default for FeedItemSetError
impl Default for FeedItemSetError
source§fn default() -> FeedItemSetError
fn default() -> FeedItemSetError
source§impl From<FeedItemSetError> for i32
impl From<FeedItemSetError> for i32
source§fn from(value: FeedItemSetError) -> i32
fn from(value: FeedItemSetError) -> i32
source§impl Hash for FeedItemSetError
impl Hash for FeedItemSetError
source§impl Ord for FeedItemSetError
impl Ord for FeedItemSetError
source§fn cmp(&self, other: &FeedItemSetError) -> Ordering
fn cmp(&self, other: &FeedItemSetError) -> 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 FeedItemSetError
impl PartialEq for FeedItemSetError
source§fn eq(&self, other: &FeedItemSetError) -> bool
fn eq(&self, other: &FeedItemSetError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FeedItemSetError
impl PartialOrd for FeedItemSetError
source§fn partial_cmp(&self, other: &FeedItemSetError) -> Option<Ordering>
fn partial_cmp(&self, other: &FeedItemSetError) -> 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 FeedItemSetError
impl TryFrom<i32> for FeedItemSetError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<FeedItemSetError, DecodeError>
fn try_from(value: i32) -> Result<FeedItemSetError, DecodeError>
impl Copy for FeedItemSetError
impl Eq for FeedItemSetError
impl StructuralPartialEq for FeedItemSetError
Auto Trait Implementations§
impl Freeze for FeedItemSetError
impl RefUnwindSafe for FeedItemSetError
impl Send for FeedItemSetError
impl Sync for FeedItemSetError
impl Unpin for FeedItemSetError
impl UnwindSafe for FeedItemSetError
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