Enum gluesql_core::ast::TableFactor
source · pub enum TableFactor {
Table {
name: String,
alias: Option<TableAlias>,
index: Option<IndexItem>,
},
Derived {
subquery: Query,
alias: TableAlias,
},
Series {
alias: TableAlias,
size: Expr,
},
Dictionary {
dict: Dictionary,
alias: TableAlias,
},
}Variants
Table
Derived
Series
Dictionary
Trait Implementations
sourceimpl Clone for TableFactor
impl Clone for TableFactor
sourcefn clone(&self) -> TableFactor
fn clone(&self) -> TableFactor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for TableFactor
impl Debug for TableFactor
sourceimpl<'de> Deserialize<'de> for TableFactor
impl<'de> Deserialize<'de> for TableFactor
sourcefn 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
sourceimpl Hash for TableFactor
impl Hash for TableFactor
sourceimpl PartialEq<TableFactor> for TableFactor
impl PartialEq<TableFactor> for TableFactor
sourcefn eq(&self, other: &TableFactor) -> bool
fn eq(&self, other: &TableFactor) -> bool
sourceimpl Serialize for TableFactor
impl Serialize for TableFactor
impl Eq for TableFactor
impl StructuralEq for TableFactor
impl StructuralPartialEq for TableFactor
Auto Trait Implementations
impl RefUnwindSafe for TableFactor
impl Send for TableFactor
impl Sync for TableFactor
impl Unpin for TableFactor
impl UnwindSafe for TableFactor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.