Enum google_api_proto::google::ads::googleads::v15::enums::offline_user_data_job_match_rate_range_enum::OfflineUserDataJobMatchRateRange
source · #[repr(i32)]pub enum OfflineUserDataJobMatchRateRange {
Unspecified = 0,
Unknown = 1,
MatchRangeLessThan20 = 2,
MatchRange20To30 = 3,
MatchRange31To40 = 4,
MatchRange41To50 = 5,
MatchRange51To60 = 6,
MatchRange61To70 = 7,
MatchRange71To80 = 8,
MatchRange81To90 = 9,
MatchRange91To100 = 10,
}
Expand description
The match rate range of an offline user data job.
Variants§
Unspecified = 0
Not specified.
Unknown = 1
Default value for match rate range.
MatchRangeLessThan20 = 2
Match rate range for offline data upload entity is between 0% and 19%.
MatchRange20To30 = 3
Match rate range for offline data upload entity is between 20% and 30%.
MatchRange31To40 = 4
Match rate range for offline data upload entity is between 31% and 40%.
MatchRange41To50 = 5
Match rate range for offline data upload entity is between 41% and 50%.
MatchRange51To60 = 6
Match rate range for offline data upload entity is between 51% and 60%.
MatchRange61To70 = 7
Match rate range for offline data upload entity is between 61% and 70%.
MatchRange71To80 = 8
Match rate range for offline data upload entity is between 71% and 80%.
MatchRange81To90 = 9
Match rate range for offline data upload entity is between 81% and 90%.
MatchRange91To100 = 10
Match rate range for offline data upload entity is more than or equal to 91%.
Implementations§
source§impl OfflineUserDataJobMatchRateRange
impl OfflineUserDataJobMatchRateRange
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of OfflineUserDataJobMatchRateRange
.
sourcepub fn from_i32(value: i32) -> Option<OfflineUserDataJobMatchRateRange>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<OfflineUserDataJobMatchRateRange>
Converts an i32
to a OfflineUserDataJobMatchRateRange
, or None
if value
is not a valid variant.
source§impl OfflineUserDataJobMatchRateRange
impl OfflineUserDataJobMatchRateRange
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 OfflineUserDataJobMatchRateRange
impl Clone for OfflineUserDataJobMatchRateRange
source§fn clone(&self) -> OfflineUserDataJobMatchRateRange
fn clone(&self) -> OfflineUserDataJobMatchRateRange
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for OfflineUserDataJobMatchRateRange
impl Default for OfflineUserDataJobMatchRateRange
source§fn default() -> OfflineUserDataJobMatchRateRange
fn default() -> OfflineUserDataJobMatchRateRange
source§impl From<OfflineUserDataJobMatchRateRange> for i32
impl From<OfflineUserDataJobMatchRateRange> for i32
source§fn from(value: OfflineUserDataJobMatchRateRange) -> i32
fn from(value: OfflineUserDataJobMatchRateRange) -> i32
source§impl Ord for OfflineUserDataJobMatchRateRange
impl Ord for OfflineUserDataJobMatchRateRange
source§fn cmp(&self, other: &OfflineUserDataJobMatchRateRange) -> Ordering
fn cmp(&self, other: &OfflineUserDataJobMatchRateRange) -> 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 OfflineUserDataJobMatchRateRange
impl PartialEq for OfflineUserDataJobMatchRateRange
source§fn eq(&self, other: &OfflineUserDataJobMatchRateRange) -> bool
fn eq(&self, other: &OfflineUserDataJobMatchRateRange) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OfflineUserDataJobMatchRateRange
impl PartialOrd for OfflineUserDataJobMatchRateRange
source§fn partial_cmp(
&self,
other: &OfflineUserDataJobMatchRateRange
) -> Option<Ordering>
fn partial_cmp( &self, other: &OfflineUserDataJobMatchRateRange ) -> 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 OfflineUserDataJobMatchRateRange
impl TryFrom<i32> for OfflineUserDataJobMatchRateRange
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<OfflineUserDataJobMatchRateRange, DecodeError>
fn try_from(value: i32) -> Result<OfflineUserDataJobMatchRateRange, DecodeError>
impl Copy for OfflineUserDataJobMatchRateRange
impl Eq for OfflineUserDataJobMatchRateRange
impl StructuralPartialEq for OfflineUserDataJobMatchRateRange
Auto Trait Implementations§
impl Freeze for OfflineUserDataJobMatchRateRange
impl RefUnwindSafe for OfflineUserDataJobMatchRateRange
impl Send for OfflineUserDataJobMatchRateRange
impl Sync for OfflineUserDataJobMatchRateRange
impl Unpin for OfflineUserDataJobMatchRateRange
impl UnwindSafe for OfflineUserDataJobMatchRateRange
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