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 moreSource§impl Debug for ValueTableMode
impl Debug for ValueTableMode
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,
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§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 moreimpl 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 UnsafeUnpin 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,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more