pub enum TableRef {
Table(TableName, Option<DynIden>),
SubQuery(Box<SelectStatement>, DynIden),
ValuesList(Vec<ValueTuple>, DynIden),
FunctionCall(FunctionCall, DynIden),
}Expand description
Table references
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 Forget for TableRef
impl Freeze for TableRef
impl Move for TableRef
impl RefUnwindSafe for TableRef
impl Send for TableRef
impl Sync for TableRef
impl Unpin for TableRef
impl UnsafeUnpin 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