Enum google_api_proto::google::cloud::clouddms::v1::NumericFilterOption
source · #[repr(i32)]pub enum NumericFilterOption {
Unspecified = 0,
All = 1,
Limit = 2,
Limitless = 3,
}
Expand description
Specifies the columns on which numeric filter needs to be applied.
Variants§
Unspecified = 0
Numeric filter option unspecified
All = 1
Numeric filter option that matches all numeric columns.
Limit = 2
Numeric filter option that matches columns having numeric datatypes with specified precision and scale within the limited range of filter.
Limitless = 3
Numeric filter option that matches only the numeric columns with no precision and scale specified.
Implementations§
source§impl NumericFilterOption
impl NumericFilterOption
sourcepub fn from_i32(value: i32) -> Option<NumericFilterOption>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<NumericFilterOption>
Converts an i32
to a NumericFilterOption
, or None
if value
is not a valid variant.
source§impl NumericFilterOption
impl NumericFilterOption
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 NumericFilterOption
impl Clone for NumericFilterOption
source§fn clone(&self) -> NumericFilterOption
fn clone(&self) -> NumericFilterOption
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NumericFilterOption
impl Debug for NumericFilterOption
source§impl Default for NumericFilterOption
impl Default for NumericFilterOption
source§fn default() -> NumericFilterOption
fn default() -> NumericFilterOption
source§impl From<NumericFilterOption> for i32
impl From<NumericFilterOption> for i32
source§fn from(value: NumericFilterOption) -> i32
fn from(value: NumericFilterOption) -> i32
source§impl Hash for NumericFilterOption
impl Hash for NumericFilterOption
source§impl Ord for NumericFilterOption
impl Ord for NumericFilterOption
source§fn cmp(&self, other: &NumericFilterOption) -> Ordering
fn cmp(&self, other: &NumericFilterOption) -> 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 NumericFilterOption
impl PartialEq for NumericFilterOption
source§fn eq(&self, other: &NumericFilterOption) -> bool
fn eq(&self, other: &NumericFilterOption) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NumericFilterOption
impl PartialOrd for NumericFilterOption
source§fn partial_cmp(&self, other: &NumericFilterOption) -> Option<Ordering>
fn partial_cmp(&self, other: &NumericFilterOption) -> 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 NumericFilterOption
impl TryFrom<i32> for NumericFilterOption
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<NumericFilterOption, DecodeError>
fn try_from(value: i32) -> Result<NumericFilterOption, DecodeError>
impl Copy for NumericFilterOption
impl Eq for NumericFilterOption
impl StructuralPartialEq for NumericFilterOption
Auto Trait Implementations§
impl Freeze for NumericFilterOption
impl RefUnwindSafe for NumericFilterOption
impl Send for NumericFilterOption
impl Sync for NumericFilterOption
impl Unpin for NumericFilterOption
impl UnwindSafe for NumericFilterOption
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