Enum google_api_proto::google::ads::googleads::v15::errors::customer_client_link_error_enum::CustomerClientLinkError
source · #[repr(i32)]pub enum CustomerClientLinkError {
Unspecified = 0,
Unknown = 1,
ClientAlreadyInvitedByThisManager = 2,
ClientAlreadyManagedInHierarchy = 3,
CyclicLinkNotAllowed = 4,
CustomerHasTooManyAccounts = 5,
ClientHasTooManyInvitations = 6,
CannotHideOrUnhideManagerAccounts = 7,
CustomerHasTooManyAccountsAtManager = 8,
ClientHasTooManyManagers = 9,
}
Expand description
Enum describing possible CustomerClientLink errors.
Variants§
Unspecified = 0
Enum unspecified.
Unknown = 1
The received error code is not known in this version.
ClientAlreadyInvitedByThisManager = 2
Trying to manage a client that already in being managed by customer.
ClientAlreadyManagedInHierarchy = 3
Already managed by some other manager in the hierarchy.
CyclicLinkNotAllowed = 4
Attempt to create a cycle in the hierarchy.
CustomerHasTooManyAccounts = 5
Managed accounts has the maximum number of linked accounts.
ClientHasTooManyInvitations = 6
Invitor has the maximum pending invitations.
CannotHideOrUnhideManagerAccounts = 7
Attempt to change hidden status of a link that is not active.
CustomerHasTooManyAccountsAtManager = 8
Parent manager account has the maximum number of linked accounts.
ClientHasTooManyManagers = 9
Client has too many managers.
Implementations§
source§impl CustomerClientLinkError
impl CustomerClientLinkError
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of CustomerClientLinkError
.
sourcepub fn from_i32(value: i32) -> Option<CustomerClientLinkError>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<CustomerClientLinkError>
Converts an i32
to a CustomerClientLinkError
, or None
if value
is not a valid variant.
source§impl CustomerClientLinkError
impl CustomerClientLinkError
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 CustomerClientLinkError
impl Clone for CustomerClientLinkError
source§fn clone(&self) -> CustomerClientLinkError
fn clone(&self) -> CustomerClientLinkError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CustomerClientLinkError
impl Debug for CustomerClientLinkError
source§impl Default for CustomerClientLinkError
impl Default for CustomerClientLinkError
source§fn default() -> CustomerClientLinkError
fn default() -> CustomerClientLinkError
source§impl From<CustomerClientLinkError> for i32
impl From<CustomerClientLinkError> for i32
source§fn from(value: CustomerClientLinkError) -> i32
fn from(value: CustomerClientLinkError) -> i32
source§impl Hash for CustomerClientLinkError
impl Hash for CustomerClientLinkError
source§impl Ord for CustomerClientLinkError
impl Ord for CustomerClientLinkError
source§fn cmp(&self, other: &CustomerClientLinkError) -> Ordering
fn cmp(&self, other: &CustomerClientLinkError) -> 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 CustomerClientLinkError
impl PartialEq for CustomerClientLinkError
source§fn eq(&self, other: &CustomerClientLinkError) -> bool
fn eq(&self, other: &CustomerClientLinkError) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CustomerClientLinkError
impl PartialOrd for CustomerClientLinkError
source§fn partial_cmp(&self, other: &CustomerClientLinkError) -> Option<Ordering>
fn partial_cmp(&self, other: &CustomerClientLinkError) -> 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 CustomerClientLinkError
impl TryFrom<i32> for CustomerClientLinkError
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<CustomerClientLinkError, DecodeError>
fn try_from(value: i32) -> Result<CustomerClientLinkError, DecodeError>
impl Copy for CustomerClientLinkError
impl Eq for CustomerClientLinkError
impl StructuralPartialEq for CustomerClientLinkError
Auto Trait Implementations§
impl Freeze for CustomerClientLinkError
impl RefUnwindSafe for CustomerClientLinkError
impl Send for CustomerClientLinkError
impl Sync for CustomerClientLinkError
impl Unpin for CustomerClientLinkError
impl UnwindSafe for CustomerClientLinkError
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