#[non_exhaustive]pub enum TableRef {
Table(TableName, Option<DynIden>),
SubQuery(Box<SelectStatement>, DynIden),
ValuesList(Vec<ValueTuple>, DynIden),
FunctionCall(FunctionCall, DynIden),
}
Expand description
Table references
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Table(TableName, Option<DynIden>)
A table identifier with optional Alias. Potentially qualified.
SubQuery(Box<SelectStatement>, DynIden)
Subquery with alias
ValuesList(Vec<ValueTuple>, DynIden)
Values list with alias
FunctionCall(FunctionCall, DynIden)
Function call with alias
Implementations§
Trait Implementations§
impl StructuralPartialEq for TableRef
Auto Trait Implementations§
impl Freeze for TableRef
impl RefUnwindSafe for TableRef
impl Send for TableRef
impl Sync for TableRef
impl Unpin for TableRef
impl UnwindSafe for TableRef
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