Enum google_api_proto::google::ads::googleads::v15::enums::brand_state_enum::BrandState
source · #[repr(i32)]pub enum BrandState {
Unspecified = 0,
Unknown = 1,
Enabled = 2,
Deprecated = 3,
Unverified = 4,
Approved = 5,
Cancelled = 6,
Rejected = 7,
}
Expand description
Enumeration of different brand states.
Variants§
Unspecified = 0
No value has been specified.
Unknown = 1
Used for return value only. Represents value unknown in this version.
Enabled = 2
Brand is verified and globally available for selection
Deprecated = 3
Brand was globally available in past but is no longer a valid brand (based on business criteria)
Unverified = 4
Brand is unverified and customer scoped, but can be selected by customer (only who requested for same) for targeting
Approved = 5
Was a customer-scoped (unverified) brand, which got approved by business and added to the global list. Its assigned CKG MID should be used instead of this
Cancelled = 6
Was a customer-scoped (unverified) brand, but the request was canceled by customer and this brand id is no longer valid
Rejected = 7
Was a customer-scoped (unverified) brand, but the request was rejected by internal business team and this brand id is no longer valid
Implementations§
source§impl BrandState
impl BrandState
source§impl BrandState
impl BrandState
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 BrandState
impl Clone for BrandState
source§fn clone(&self) -> BrandState
fn clone(&self) -> BrandState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BrandState
impl Debug for BrandState
source§impl Default for BrandState
impl Default for BrandState
source§fn default() -> BrandState
fn default() -> BrandState
source§impl From<BrandState> for i32
impl From<BrandState> for i32
source§fn from(value: BrandState) -> i32
fn from(value: BrandState) -> i32
source§impl Hash for BrandState
impl Hash for BrandState
source§impl Ord for BrandState
impl Ord for BrandState
source§fn cmp(&self, other: &BrandState) -> Ordering
fn cmp(&self, other: &BrandState) -> 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 BrandState
impl PartialEq for BrandState
source§fn eq(&self, other: &BrandState) -> bool
fn eq(&self, other: &BrandState) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BrandState
impl PartialOrd for BrandState
source§fn partial_cmp(&self, other: &BrandState) -> Option<Ordering>
fn partial_cmp(&self, other: &BrandState) -> 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 BrandState
impl TryFrom<i32> for BrandState
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<BrandState, DecodeError>
fn try_from(value: i32) -> Result<BrandState, DecodeError>
impl Copy for BrandState
impl Eq for BrandState
impl StructuralPartialEq for BrandState
Auto Trait Implementations§
impl Freeze for BrandState
impl RefUnwindSafe for BrandState
impl Send for BrandState
impl Sync for BrandState
impl Unpin for BrandState
impl UnwindSafe for BrandState
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