#[non_exhaustive]pub enum LanguageFeature {
Unspecified,
Joins,
Stages,
DataTables,
UnknownValue(UnknownValue),
}Expand description
A language feature describes a specific capability or syntax of the query
language used in a dashboard query, such as JOINS, STAGES, or
DATA_TABLES.
§Working with unknown values
This enum is defined as #[non_exhaustive] because Google Cloud may add
additional enum variants at any time. Adding new variants is not considered
a breaking change. Applications should write their code in anticipation of:
- New values appearing in future releases of the client library, and
- New values received dynamically, without application changes.
Please consult the Working with enums section in the user guide for some guidelines.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unspecified
Language feature is unknown.
Joins
Language feature is joins.
Stages
Language feature is stages.
DataTables
Language feature is data table.
UnknownValue(UnknownValue)
If set, the enum was initialized with an unknown value.
Applications can examine the value using LanguageFeature::value or LanguageFeature::name.
Implementations§
Trait Implementations§
Source§impl Clone for LanguageFeature
impl Clone for LanguageFeature
Source§fn clone(&self) -> LanguageFeature
fn clone(&self) -> LanguageFeature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LanguageFeature
impl Debug for LanguageFeature
Source§impl Default for LanguageFeature
impl Default for LanguageFeature
Source§impl<'de> Deserialize<'de> for LanguageFeature
impl<'de> Deserialize<'de> for LanguageFeature
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for LanguageFeature
impl Display for LanguageFeature
Source§impl From<&str> for LanguageFeature
impl From<&str> for LanguageFeature
Source§impl From<i32> for LanguageFeature
impl From<i32> for LanguageFeature
Source§impl PartialEq for LanguageFeature
impl PartialEq for LanguageFeature
Source§fn eq(&self, other: &LanguageFeature) -> bool
fn eq(&self, other: &LanguageFeature) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LanguageFeature
impl Serialize for LanguageFeature
impl StructuralPartialEq for LanguageFeature
Auto Trait Implementations§
impl Freeze for LanguageFeature
impl RefUnwindSafe for LanguageFeature
impl Send for LanguageFeature
impl Sync for LanguageFeature
impl Unpin for LanguageFeature
impl UnsafeUnpin for LanguageFeature
impl UnwindSafe for LanguageFeature
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
Mutably borrows from an owned value. Read more