Enum google_api_proto::google::ads::searchads360::v0::enums::floodlight_variable_type_enum::FloodlightVariableType
source · #[repr(i32)]pub enum FloodlightVariableType {
Unspecified = 0,
Unknown = 1,
Dimension = 2,
Metric = 3,
Unset = 4,
}
Expand description
Type of the floodlight variable, as defined in the Search Ads 360. See https://support.google.com/searchads/answer/4397154?hl=en to learn more.
Variants§
Unspecified = 0
Not specified.
Unknown = 1
Used for return value only. Represents value unknown in this version.
Dimension = 2
Dimension floodlight variable type.
Metric = 3
Metric floodlight variable type.
Unset = 4
Floodlight variable type is unset.
Implementations§
source§impl FloodlightVariableType
impl FloodlightVariableType
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of FloodlightVariableType
.
sourcepub fn from_i32(value: i32) -> Option<FloodlightVariableType>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<FloodlightVariableType>
Converts an i32
to a FloodlightVariableType
, or None
if value
is not a valid variant.
source§impl FloodlightVariableType
impl FloodlightVariableType
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 FloodlightVariableType
impl Clone for FloodlightVariableType
source§fn clone(&self) -> FloodlightVariableType
fn clone(&self) -> FloodlightVariableType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FloodlightVariableType
impl Debug for FloodlightVariableType
source§impl Default for FloodlightVariableType
impl Default for FloodlightVariableType
source§fn default() -> FloodlightVariableType
fn default() -> FloodlightVariableType
source§impl From<FloodlightVariableType> for i32
impl From<FloodlightVariableType> for i32
source§fn from(value: FloodlightVariableType) -> i32
fn from(value: FloodlightVariableType) -> i32
source§impl Hash for FloodlightVariableType
impl Hash for FloodlightVariableType
source§impl Ord for FloodlightVariableType
impl Ord for FloodlightVariableType
source§fn cmp(&self, other: &FloodlightVariableType) -> Ordering
fn cmp(&self, other: &FloodlightVariableType) -> 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 FloodlightVariableType
impl PartialEq for FloodlightVariableType
source§fn eq(&self, other: &FloodlightVariableType) -> bool
fn eq(&self, other: &FloodlightVariableType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FloodlightVariableType
impl PartialOrd for FloodlightVariableType
source§fn partial_cmp(&self, other: &FloodlightVariableType) -> Option<Ordering>
fn partial_cmp(&self, other: &FloodlightVariableType) -> 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 FloodlightVariableType
impl TryFrom<i32> for FloodlightVariableType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<FloodlightVariableType, DecodeError>
fn try_from(value: i32) -> Result<FloodlightVariableType, DecodeError>
impl Copy for FloodlightVariableType
impl Eq for FloodlightVariableType
impl StructuralPartialEq for FloodlightVariableType
Auto Trait Implementations§
impl Freeze for FloodlightVariableType
impl RefUnwindSafe for FloodlightVariableType
impl Send for FloodlightVariableType
impl Sync for FloodlightVariableType
impl Unpin for FloodlightVariableType
impl UnwindSafe for FloodlightVariableType
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