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
Variants§
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§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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>,
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,
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 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
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
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,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more