pub enum TableReference {
Bare {
table: String,
},
Partial {
schema: String,
table: String,
},
Full {
catalog: String,
schema: String,
table: String,
},
}Variants§
Bare
An unqualified table reference, e.g. “table”
Partial
A partially resolved table reference, e.g. “schema.table”
Full
A fully resolved table reference, e.g. “catalog.schema.table”
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 (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 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 Ord for TableReference
impl Ord for TableReference
Source§fn cmp(&self, other: &TableReference) -> Ordering
fn cmp(&self, other: &TableReference) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TableReference
impl PartialEq for TableReference
Source§fn eq(&self, other: &TableReference) -> bool
fn eq(&self, other: &TableReference) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TableReference
impl PartialOrd 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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.