pub struct TableReference {
pub catalog: Option<Ident>,
pub schema: Option<Ident>,
pub name: Ident,
pub alias: Option<Ident>,
}Expand description
TableReference represents a qualified table with alias.
In this crate, this is the canonical representation of a table.
Tables found during analyzing an AST are stored as TableReference.
Fields§
§catalog: Option<Ident>§schema: Option<Ident>§name: Ident§alias: Option<Ident>Implementations§
Trait Implementations§
Source§impl Clone for TableReference
impl Clone for TableReference
Source§fn clone(&self) -> TableReference
fn clone(&self) -> TableReference
Returns a duplicate of the value. Read more
1.0.0 · 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 TableReference
impl Debug for TableReference
Source§impl Display for TableReference
impl Display for TableReference
Source§impl Hash for TableReference
impl Hash for TableReference
Source§impl PartialEq for TableReference
impl PartialEq for TableReference
Source§impl TryFrom<&ObjectName> for TableReference
impl TryFrom<&ObjectName> for TableReference
Source§impl TryFrom<&TableFactor> for TableReference
impl TryFrom<&TableFactor> for TableReference
impl Eq for TableReference
impl StructuralPartialEq for TableReference
Auto Trait Implementations§
impl Freeze for TableReference
impl RefUnwindSafe for TableReference
impl Send for TableReference
impl Sync for TableReference
impl Unpin for TableReference
impl UnwindSafe for TableReference
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