Enum google_api_proto::google::ads::googleads::v15::errors::asset_group_listing_group_filter_error_enum::AssetGroupListingGroupFilterError
source · #[repr(i32)]pub enum AssetGroupListingGroupFilterError {
Show 16 variants
Unspecified = 0,
Unknown = 1,
TreeTooDeep = 2,
UnitCannotHaveChildren = 3,
SubdivisionMustHaveEverythingElseChild = 4,
DifferentDimensionTypeBetweenSiblings = 5,
SameDimensionValueBetweenSiblings = 6,
SameDimensionTypeBetweenAncestors = 7,
MultipleRoots = 8,
InvalidDimensionValue = 9,
MustRefineHierarchicalParentType = 10,
InvalidProductBiddingCategory = 11,
ChangingCaseValueWithChildren = 12,
SubdivisionHasChildren = 13,
CannotRefineHierarchicalEverythingElse = 14,
MultipleOperationsOnOneNode = 23,
}
Expand description
Enum describing possible asset group listing group filter errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
TreeTooDeep = 2
Listing group tree is too deep.
UnitCannotHaveChildren = 3
Listing Group UNIT node cannot have children.
SubdivisionMustHaveEverythingElseChild = 4
Listing Group SUBDIVISION node must have everything else child.
DifferentDimensionTypeBetweenSiblings = 5
Dimension type of Listing Group must be the same as that of its siblings.
SameDimensionValueBetweenSiblings = 6
The sibling Listing Groups target exactly the same dimension value.
SameDimensionTypeBetweenAncestors = 7
The dimension type is the same as one of the ancestor Listing Groups.
MultipleRoots = 8
Each Listing Group tree must have a single root.
InvalidDimensionValue = 9
Invalid Listing Group dimension value.
MustRefineHierarchicalParentType = 10
Hierarchical dimension must refine a dimension of the same type.
InvalidProductBiddingCategory = 11
Invalid Product Bidding Category.
ChangingCaseValueWithChildren = 12
Modifying case value is allowed only while updating the entire subtree at the same time.
SubdivisionHasChildren = 13
Subdivision node has children which must be removed first.
CannotRefineHierarchicalEverythingElse = 14
Dimension can’t subdivide everything-else node in its own hierarchy.
MultipleOperationsOnOneNode = 23
There cannot be more than one mutate operation per request that targets a single asset group listing group filter.
Implementations§
source§impl AssetGroupListingGroupFilterError
impl AssetGroupListingGroupFilterError
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of AssetGroupListingGroupFilterError
.
sourcepub fn from_i32(value: i32) -> Option<AssetGroupListingGroupFilterError>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<AssetGroupListingGroupFilterError>
Converts an i32
to a AssetGroupListingGroupFilterError
, or None
if value
is not a valid variant.
source§impl AssetGroupListingGroupFilterError
impl AssetGroupListingGroupFilterError
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 AssetGroupListingGroupFilterError
impl Clone for AssetGroupListingGroupFilterError
source§fn clone(&self) -> AssetGroupListingGroupFilterError
fn clone(&self) -> AssetGroupListingGroupFilterError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AssetGroupListingGroupFilterError
impl Default for AssetGroupListingGroupFilterError
source§fn default() -> AssetGroupListingGroupFilterError
fn default() -> AssetGroupListingGroupFilterError
source§impl From<AssetGroupListingGroupFilterError> for i32
impl From<AssetGroupListingGroupFilterError> for i32
source§fn from(value: AssetGroupListingGroupFilterError) -> i32
fn from(value: AssetGroupListingGroupFilterError) -> i32
source§impl Ord for AssetGroupListingGroupFilterError
impl Ord for AssetGroupListingGroupFilterError
source§fn cmp(&self, other: &AssetGroupListingGroupFilterError) -> Ordering
fn cmp(&self, other: &AssetGroupListingGroupFilterError) -> 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 AssetGroupListingGroupFilterError
impl PartialEq for AssetGroupListingGroupFilterError
source§fn eq(&self, other: &AssetGroupListingGroupFilterError) -> bool
fn eq(&self, other: &AssetGroupListingGroupFilterError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AssetGroupListingGroupFilterError
impl PartialOrd for AssetGroupListingGroupFilterError
source§fn partial_cmp(
&self,
other: &AssetGroupListingGroupFilterError
) -> Option<Ordering>
fn partial_cmp( &self, other: &AssetGroupListingGroupFilterError ) -> 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 AssetGroupListingGroupFilterError
impl TryFrom<i32> for AssetGroupListingGroupFilterError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(
value: i32
) -> Result<AssetGroupListingGroupFilterError, DecodeError>
fn try_from( value: i32 ) -> Result<AssetGroupListingGroupFilterError, DecodeError>
impl Copy for AssetGroupListingGroupFilterError
impl Eq for AssetGroupListingGroupFilterError
impl StructuralPartialEq for AssetGroupListingGroupFilterError
Auto Trait Implementations§
impl Freeze for AssetGroupListingGroupFilterError
impl RefUnwindSafe for AssetGroupListingGroupFilterError
impl Send for AssetGroupListingGroupFilterError
impl Sync for AssetGroupListingGroupFilterError
impl Unpin for AssetGroupListingGroupFilterError
impl UnwindSafe for AssetGroupListingGroupFilterError
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