Enum google_api_proto::google::ads::googleads::v14::errors::feed_item_error_enum::FeedItemError
source · #[repr(i32)]pub enum FeedItemError {
Unspecified = 0,
Unknown = 1,
CannotConvertAttributeValueFromString = 2,
CannotOperateOnRemovedFeedItem = 3,
DateTimeMustBeInAccountTimeZone = 4,
KeyAttributesNotFound = 5,
InvalidUrl = 6,
MissingKeyAttributes = 7,
KeyAttributesNotUnique = 8,
CannotModifyKeyAttributeValue = 9,
SizeTooLargeForMultiValueAttribute = 10,
LegacyFeedTypeReadOnly = 11,
}
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.
CannotConvertAttributeValueFromString = 2
Cannot convert the feed attribute value from string to its real type.
CannotOperateOnRemovedFeedItem = 3
Cannot operate on removed feed item.
DateTimeMustBeInAccountTimeZone = 4
Date time zone does not match the account’s time zone.
KeyAttributesNotFound = 5
Feed item with the key attributes could not be found.
InvalidUrl = 6
Url feed attribute value is not valid.
MissingKeyAttributes = 7
Some key attributes are missing.
KeyAttributesNotUnique = 8
Feed item has same key attributes as another feed item.
CannotModifyKeyAttributeValue = 9
Cannot modify key attributes on an existing feed item.
SizeTooLargeForMultiValueAttribute = 10
The feed attribute value is too large.
LegacyFeedTypeReadOnly = 11
Feed is read only.
Implementations§
source§impl FeedItemError
impl FeedItemError
source§impl FeedItemError
impl FeedItemError
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 FeedItemError
impl Clone for FeedItemError
source§fn clone(&self) -> FeedItemError
fn clone(&self) -> FeedItemError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FeedItemError
impl Debug for FeedItemError
source§impl Default for FeedItemError
impl Default for FeedItemError
source§fn default() -> FeedItemError
fn default() -> FeedItemError
source§impl From<FeedItemError> for i32
impl From<FeedItemError> for i32
source§fn from(value: FeedItemError) -> i32
fn from(value: FeedItemError) -> i32
source§impl Hash for FeedItemError
impl Hash for FeedItemError
source§impl Ord for FeedItemError
impl Ord for FeedItemError
source§fn cmp(&self, other: &FeedItemError) -> Ordering
fn cmp(&self, other: &FeedItemError) -> 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 FeedItemError
impl PartialEq for FeedItemError
source§fn eq(&self, other: &FeedItemError) -> bool
fn eq(&self, other: &FeedItemError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FeedItemError
impl PartialOrd for FeedItemError
source§fn partial_cmp(&self, other: &FeedItemError) -> Option<Ordering>
fn partial_cmp(&self, other: &FeedItemError) -> 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 FeedItemError
impl TryFrom<i32> for FeedItemError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<FeedItemError, DecodeError>
fn try_from(value: i32) -> Result<FeedItemError, DecodeError>
impl Copy for FeedItemError
impl Eq for FeedItemError
impl StructuralPartialEq for FeedItemError
Auto Trait Implementations§
impl Freeze for FeedItemError
impl RefUnwindSafe for FeedItemError
impl Send for FeedItemError
impl Sync for FeedItemError
impl Unpin for FeedItemError
impl UnwindSafe for FeedItemError
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