Enum google_api_proto::google::ads::googleads::v15::errors::asset_set_error_enum::AssetSetError
source · #[repr(i32)]pub enum AssetSetError {
Show 13 variants
Unspecified = 0,
Unknown = 1,
DuplicateAssetSetName = 2,
InvalidParentAssetSetType = 3,
AssetSetSourceIncompatibleWithParentAssetSet = 4,
AssetSetTypeCannotBeLinkedToCustomer = 5,
InvalidChainIds = 6,
LocationSyncAssetSetDoesNotSupportRelationshipType = 7,
NotUniqueEnabledLocationSyncTypedAssetSet = 8,
InvalidPlaceIds = 9,
OauthInfoInvalid = 11,
OauthInfoMissing = 12,
CannotDeleteAsEnabledLinkagesExist = 10,
}
Expand description
Enum describing possible asset set errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
DuplicateAssetSetName = 2
The asset set name matches that of another enabled asset set.
InvalidParentAssetSetType = 3
The type of AssetSet.asset_set_source does not match the type of AssetSet.location_set.source in its parent AssetSet.
AssetSetSourceIncompatibleWithParentAssetSet = 4
The asset set source doesn’t match its parent AssetSet’s data.
AssetSetTypeCannotBeLinkedToCustomer = 5
This AssetSet type cannot be linked to CustomerAssetSet.
InvalidChainIds = 6
The chain id(s) in ChainSet of a LOCATION_SYNC typed AssetSet is invalid.
LocationSyncAssetSetDoesNotSupportRelationshipType = 7
The relationship type in ChainSet of a LOCATION_SYNC typed AssetSet is not supported.
NotUniqueEnabledLocationSyncTypedAssetSet = 8
There is more than one enabled LocationSync typed AssetSet under one customer.
InvalidPlaceIds = 9
The place id(s) in a LocationSync typed AssetSet is invalid and can’t be decoded.
OauthInfoInvalid = 11
The Google Business Profile OAuth info is invalid.
OauthInfoMissing = 12
The Google Business Profile OAuth info is missing.
CannotDeleteAsEnabledLinkagesExist = 10
Can’t delete an AssetSet if it has any enabled linkages (e.g. CustomerAssetSet), or AssetSet is a parent AssetSet and has enabled child AssetSet associated.
Implementations§
source§impl AssetSetError
impl AssetSetError
source§impl AssetSetError
impl AssetSetError
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 AssetSetError
impl Clone for AssetSetError
source§fn clone(&self) -> AssetSetError
fn clone(&self) -> AssetSetError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssetSetError
impl Debug for AssetSetError
source§impl Default for AssetSetError
impl Default for AssetSetError
source§fn default() -> AssetSetError
fn default() -> AssetSetError
source§impl From<AssetSetError> for i32
impl From<AssetSetError> for i32
source§fn from(value: AssetSetError) -> i32
fn from(value: AssetSetError) -> i32
source§impl Hash for AssetSetError
impl Hash for AssetSetError
source§impl Ord for AssetSetError
impl Ord for AssetSetError
source§fn cmp(&self, other: &AssetSetError) -> Ordering
fn cmp(&self, other: &AssetSetError) -> 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 AssetSetError
impl PartialEq for AssetSetError
source§fn eq(&self, other: &AssetSetError) -> bool
fn eq(&self, other: &AssetSetError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AssetSetError
impl PartialOrd for AssetSetError
source§fn partial_cmp(&self, other: &AssetSetError) -> Option<Ordering>
fn partial_cmp(&self, other: &AssetSetError) -> 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 AssetSetError
impl TryFrom<i32> for AssetSetError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<AssetSetError, DecodeError>
fn try_from(value: i32) -> Result<AssetSetError, DecodeError>
impl Copy for AssetSetError
impl Eq for AssetSetError
impl StructuralPartialEq for AssetSetError
Auto Trait Implementations§
impl Freeze for AssetSetError
impl RefUnwindSafe for AssetSetError
impl Send for AssetSetError
impl Sync for AssetSetError
impl Unpin for AssetSetError
impl UnwindSafe for AssetSetError
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