pub enum ValueTableMode {
AsStruct,
AsValue,
DistinctAsStruct,
DistinctAsValue,
}Expand description
BigQuery supports ValueTables which have 2 modes:
SELECT [ALL | DISTINCT] AS STRUCT
SELECT [ALL | DISTINCT] AS VALUE
https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#value_tables
https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#select_list
Mode of BigQuery value tables, e.g. AS STRUCT or AS VALUE.
Variants§
AsStruct
AS STRUCT
AsValue
AS VALUE
DistinctAsStruct
DISTINCT AS STRUCT
DistinctAsValue
DISTINCT AS VALUE
Trait Implementations§
Source§impl Clone for ValueTableMode
impl Clone for ValueTableMode
Source§fn clone(&self) -> ValueTableMode
fn clone(&self) -> ValueTableMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Source§impl Debug for ValueTableMode
impl Debug for ValueTableMode
Source§impl<'de> Deserialize<'de> for ValueTableMode
impl<'de> Deserialize<'de> for ValueTableMode
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>,
where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ValueTableMode
impl Display for ValueTableMode
Source§impl Hash for ValueTableMode
impl Hash for ValueTableMode
Source§impl Ord for ValueTableMode
impl Ord for ValueTableMode
Source§fn cmp(&self, other: &ValueTableMode) -> Ordering
fn cmp(&self, other: &ValueTableMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
where Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ValueTableMode
impl PartialEq for ValueTableMode
Source§impl PartialOrd for ValueTableMode
impl PartialOrd for ValueTableMode
Source§fn partial_cmp(&self, other: &ValueTableMode) -> Option<Ordering>
fn partial_cmp(&self, other: &ValueTableMode) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§fn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
Tests less than or equal to (for self and other) and is used by the
<= operator. Read more
Source§impl Serialize for ValueTableMode
impl Serialize for ValueTableMode
Source§impl Visit for ValueTableMode
impl Visit for ValueTableMode
Source§impl VisitMut for ValueTableMode
impl VisitMut for ValueTableMode
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided VisitorMut. Read more
impl Copy for ValueTableMode
impl Eq for ValueTableMode
impl StructuralPartialEq for ValueTableMode
Auto Trait Implementations§
impl Freeze for ValueTableMode
impl RefUnwindSafe for ValueTableMode
impl Send for ValueTableMode
impl Sync for ValueTableMode
impl Unpin for ValueTableMode
impl UnwindSafe for ValueTableMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
where 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
where T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
where T: for<'de> Deserialize<'de>,