Enum google_api_proto::google::ads::googleads::v15::errors::asset_set_link_error_enum::AssetSetLinkError
source · #[repr(i32)]pub enum AssetSetLinkError {
Unspecified = 0,
Unknown = 1,
IncompatibleAdvertisingChannelType = 2,
DuplicateFeedLink = 3,
IncompatibleAssetSetTypeWithCampaignType = 4,
DuplicateAssetSetLink = 5,
AssetSetLinkCannotBeRemoved = 6,
}
Expand description
Enum describing possible asset set link errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
IncompatibleAdvertisingChannelType = 2
Advertising channel type cannot be attached to the asset set due to channel-based restrictions.
DuplicateFeedLink = 3
For this asset set type, only one campaign to feed linkage is allowed.
IncompatibleAssetSetTypeWithCampaignType = 4
The asset set type and campaign type are incompatible.
DuplicateAssetSetLink = 5
Cannot link duplicate asset sets to the same campaign.
AssetSetLinkCannotBeRemoved = 6
Cannot remove the asset set link. If a campaign is linked with only one asset set and you attempt to unlink them, this error will be triggered.
Implementations§
source§impl AssetSetLinkError
impl AssetSetLinkError
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 AssetSetLinkError
impl Clone for AssetSetLinkError
source§fn clone(&self) -> AssetSetLinkError
fn clone(&self) -> AssetSetLinkError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssetSetLinkError
impl Debug for AssetSetLinkError
source§impl Default for AssetSetLinkError
impl Default for AssetSetLinkError
source§fn default() -> AssetSetLinkError
fn default() -> AssetSetLinkError
source§impl From<AssetSetLinkError> for i32
impl From<AssetSetLinkError> for i32
source§fn from(value: AssetSetLinkError) -> i32
fn from(value: AssetSetLinkError) -> i32
source§impl Hash for AssetSetLinkError
impl Hash for AssetSetLinkError
source§impl Ord for AssetSetLinkError
impl Ord for AssetSetLinkError
source§fn cmp(&self, other: &AssetSetLinkError) -> Ordering
fn cmp(&self, other: &AssetSetLinkError) -> 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 AssetSetLinkError
impl PartialEq for AssetSetLinkError
source§fn eq(&self, other: &AssetSetLinkError) -> bool
fn eq(&self, other: &AssetSetLinkError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AssetSetLinkError
impl PartialOrd for AssetSetLinkError
source§fn partial_cmp(&self, other: &AssetSetLinkError) -> Option<Ordering>
fn partial_cmp(&self, other: &AssetSetLinkError) -> 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 AssetSetLinkError
impl TryFrom<i32> for AssetSetLinkError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<AssetSetLinkError, DecodeError>
fn try_from(value: i32) -> Result<AssetSetLinkError, DecodeError>
impl Copy for AssetSetLinkError
impl Eq for AssetSetLinkError
impl StructuralPartialEq for AssetSetLinkError
Auto Trait Implementations§
impl Freeze for AssetSetLinkError
impl RefUnwindSafe for AssetSetLinkError
impl Send for AssetSetLinkError
impl Sync for AssetSetLinkError
impl Unpin for AssetSetLinkError
impl UnwindSafe for AssetSetLinkError
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