pub enum SelectTable {
Table(QualifiedName, Option<As>, Option<Indexed>),
TableCall(QualifiedName, Option<Vec<Expr>>, Option<As>),
Select(Box<Select>, Option<As>),
Sub(FromClause, Option<As>),
}Expand description
Table or subquery
Variants§
Table(QualifiedName, Option<As>, Option<Indexed>)
table
TableCall(QualifiedName, Option<Vec<Expr>>, Option<As>)
table function call
Select(Box<Select>, Option<As>)
SELECT subquery
Sub(FromClause, Option<As>)
subquery
Trait Implementations§
Source§impl Clone for SelectTable
impl Clone for SelectTable
Source§fn clone(&self) -> SelectTable
fn clone(&self) -> SelectTable
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 SelectTable
impl Debug for SelectTable
impl Eq for SelectTable
Source§impl PartialEq for SelectTable
impl PartialEq for SelectTable
impl StructuralPartialEq for SelectTable
Source§impl ToTokens for SelectTable
impl ToTokens for SelectTable
Source§fn to_tokens_with_context<S: TokenStream + ?Sized, C: ToSqlContext>(
&self,
s: &mut S,
context: &C,
) -> Result<(), S::Error>
fn to_tokens_with_context<S: TokenStream + ?Sized, C: ToSqlContext>( &self, s: &mut S, context: &C, ) -> Result<(), S::Error>
Send token(s) to the specified stream with context
Source§fn to_tokens<S: TokenStream + ?Sized>(&self, s: &mut S) -> Result<(), S::Error>
fn to_tokens<S: TokenStream + ?Sized>(&self, s: &mut S) -> Result<(), S::Error>
Send token(s) to the specified stream
Source§fn to_fmt_with_context<C: ToSqlContext>(
&self,
f: &mut Formatter<'_>,
context: &C,
) -> Result
fn to_fmt_with_context<C: ToSqlContext>( &self, f: &mut Formatter<'_>, context: &C, ) -> Result
Format AST node with context
Source§fn format_with_context<C: ToSqlContext>(
&self,
context: &C,
) -> Result<String, Error>
fn format_with_context<C: ToSqlContext>( &self, context: &C, ) -> Result<String, Error>
Format AST node to string with context
Auto Trait Implementations§
impl Freeze for SelectTable
impl RefUnwindSafe for SelectTable
impl Send for SelectTable
impl Sync for SelectTable
impl Unpin for SelectTable
impl UnsafeUnpin for SelectTable
impl UnwindSafe for SelectTable
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<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
Compare self to
key and return true if they are equal.