Enum google_api_proto::google::cloud::bigquery::v2::search_statistics::IndexUsageMode
source · #[repr(i32)]pub enum IndexUsageMode {
Unspecified = 0,
Unused = 1,
PartiallyUsed = 2,
FullyUsed = 4,
}
Expand description
Indicates the type of search index usage in the entire search query.
Variants§
Unspecified = 0
Index usage mode not specified.
Unused = 1
No search indexes were used in the search query. See
[indexUnusedReasons
]
(/bigquery/docs/reference/rest/v2/Job#IndexUnusedReason)
for detailed reasons.
PartiallyUsed = 2
Part of the search query used search indexes. See [indexUnusedReasons
]
(/bigquery/docs/reference/rest/v2/Job#IndexUnusedReason)
for why other parts of the query did not use search indexes.
FullyUsed = 4
The entire search query used search indexes.
Implementations§
source§impl IndexUsageMode
impl IndexUsageMode
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 IndexUsageMode
impl Clone for IndexUsageMode
source§fn clone(&self) -> IndexUsageMode
fn clone(&self) -> IndexUsageMode
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IndexUsageMode
impl Debug for IndexUsageMode
source§impl Default for IndexUsageMode
impl Default for IndexUsageMode
source§fn default() -> IndexUsageMode
fn default() -> IndexUsageMode
source§impl From<IndexUsageMode> for i32
impl From<IndexUsageMode> for i32
source§fn from(value: IndexUsageMode) -> i32
fn from(value: IndexUsageMode) -> i32
source§impl Hash for IndexUsageMode
impl Hash for IndexUsageMode
source§impl Ord for IndexUsageMode
impl Ord for IndexUsageMode
source§fn cmp(&self, other: &IndexUsageMode) -> Ordering
fn cmp(&self, other: &IndexUsageMode) -> 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 IndexUsageMode
impl PartialEq for IndexUsageMode
source§fn eq(&self, other: &IndexUsageMode) -> bool
fn eq(&self, other: &IndexUsageMode) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for IndexUsageMode
impl PartialOrd for IndexUsageMode
source§fn partial_cmp(&self, other: &IndexUsageMode) -> Option<Ordering>
fn partial_cmp(&self, other: &IndexUsageMode) -> 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 IndexUsageMode
impl TryFrom<i32> for IndexUsageMode
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<IndexUsageMode, UnknownEnumValue>
fn try_from(value: i32) -> Result<IndexUsageMode, UnknownEnumValue>
impl Copy for IndexUsageMode
impl Eq for IndexUsageMode
impl StructuralPartialEq for IndexUsageMode
Auto Trait Implementations§
impl Freeze for IndexUsageMode
impl RefUnwindSafe for IndexUsageMode
impl Send for IndexUsageMode
impl Sync for IndexUsageMode
impl Unpin for IndexUsageMode
impl UnwindSafe for IndexUsageMode
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