Enum google_api_proto::google::ads::googleads::v14::enums::change_status_resource_type_enum::ChangeStatusResourceType
source · #[repr(i32)]pub enum ChangeStatusResourceType {
Show 19 variants
Unspecified = 0,
Unknown = 1,
AdGroup = 3,
AdGroupAd = 4,
AdGroupCriterion = 5,
Campaign = 6,
CampaignCriterion = 7,
Feed = 9,
FeedItem = 10,
AdGroupFeed = 11,
CampaignFeed = 12,
AdGroupBidModifier = 13,
SharedSet = 14,
CampaignSharedSet = 15,
Asset = 16,
CustomerAsset = 17,
CampaignAsset = 18,
AdGroupAsset = 19,
CombinedAudience = 20,
}
Expand description
Enum listing the resource types support by the ChangeStatus resource.
Variants§
Unspecified = 0
No value has been specified.
Unknown = 1
Used for return value only. Represents an unclassified resource unknown in this version.
AdGroup = 3
An AdGroup resource change.
AdGroupAd = 4
An AdGroupAd resource change.
AdGroupCriterion = 5
An AdGroupCriterion resource change.
Campaign = 6
A Campaign resource change.
CampaignCriterion = 7
A CampaignCriterion resource change.
Feed = 9
A Feed resource change.
FeedItem = 10
A FeedItem resource change.
AdGroupFeed = 11
An AdGroupFeed resource change.
CampaignFeed = 12
A CampaignFeed resource change.
AdGroupBidModifier = 13
An AdGroupBidModifier resource change.
A SharedSet resource change.
A CampaignSharedSet resource change.
Asset = 16
An Asset resource change.
CustomerAsset = 17
A CustomerAsset resource change.
CampaignAsset = 18
A CampaignAsset resource change.
AdGroupAsset = 19
An AdGroupAsset resource change.
CombinedAudience = 20
A CombinedAudience resource change.
Implementations§
source§impl ChangeStatusResourceType
impl ChangeStatusResourceType
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of ChangeStatusResourceType
.
sourcepub fn from_i32(value: i32) -> Option<ChangeStatusResourceType>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<ChangeStatusResourceType>
Converts an i32
to a ChangeStatusResourceType
, or None
if value
is not a valid variant.
source§impl ChangeStatusResourceType
impl ChangeStatusResourceType
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 ChangeStatusResourceType
impl Clone for ChangeStatusResourceType
source§fn clone(&self) -> ChangeStatusResourceType
fn clone(&self) -> ChangeStatusResourceType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChangeStatusResourceType
impl Debug for ChangeStatusResourceType
source§impl Default for ChangeStatusResourceType
impl Default for ChangeStatusResourceType
source§fn default() -> ChangeStatusResourceType
fn default() -> ChangeStatusResourceType
source§impl From<ChangeStatusResourceType> for i32
impl From<ChangeStatusResourceType> for i32
source§fn from(value: ChangeStatusResourceType) -> i32
fn from(value: ChangeStatusResourceType) -> i32
source§impl Hash for ChangeStatusResourceType
impl Hash for ChangeStatusResourceType
source§impl Ord for ChangeStatusResourceType
impl Ord for ChangeStatusResourceType
source§fn cmp(&self, other: &ChangeStatusResourceType) -> Ordering
fn cmp(&self, other: &ChangeStatusResourceType) -> 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 ChangeStatusResourceType
impl PartialEq for ChangeStatusResourceType
source§fn eq(&self, other: &ChangeStatusResourceType) -> bool
fn eq(&self, other: &ChangeStatusResourceType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ChangeStatusResourceType
impl PartialOrd for ChangeStatusResourceType
source§fn partial_cmp(&self, other: &ChangeStatusResourceType) -> Option<Ordering>
fn partial_cmp(&self, other: &ChangeStatusResourceType) -> 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 ChangeStatusResourceType
impl TryFrom<i32> for ChangeStatusResourceType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<ChangeStatusResourceType, DecodeError>
fn try_from(value: i32) -> Result<ChangeStatusResourceType, DecodeError>
impl Copy for ChangeStatusResourceType
impl Eq for ChangeStatusResourceType
impl StructuralPartialEq for ChangeStatusResourceType
Auto Trait Implementations§
impl Freeze for ChangeStatusResourceType
impl RefUnwindSafe for ChangeStatusResourceType
impl Send for ChangeStatusResourceType
impl Sync for ChangeStatusResourceType
impl Unpin for ChangeStatusResourceType
impl UnwindSafe for ChangeStatusResourceType
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