pub enum OwnedTableReference {
Bare {
table: String,
},
Partial {
schema: String,
table: String,
},
Full {
catalog: String,
schema: String,
table: String,
},
}
Expand description
Represents a path to a table that may require further resolution that owns the underlying names
Variants§
Bare
An unqualified table reference, e.g. “table”
Partial
A partially resolved table reference, e.g. “schema.table”
Full
Fields
A fully resolved table reference, e.g. “catalog.schema.table”
Implementations§
source§impl OwnedTableReference
impl OwnedTableReference
sourcepub fn as_table_reference(&self) -> TableReference<'_>
pub fn as_table_reference(&self) -> TableReference<'_>
Return a TableReference
view of this OwnedTableReference
Trait Implementations§
source§impl Clone for OwnedTableReference
impl Clone for OwnedTableReference
source§fn clone(&self) -> OwnedTableReference
fn clone(&self) -> OwnedTableReference
Returns a copy 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 OwnedTableReference
impl Debug for OwnedTableReference
source§impl Display for OwnedTableReference
impl Display for OwnedTableReference
source§impl<'a> From<&'a OwnedTableReference> for TableReference<'a>
impl<'a> From<&'a OwnedTableReference> for TableReference<'a>
Convert OwnedTableReference
into a TableReference
. Somewhat
awkward to use but ‘idiomatic’: (&table_ref).into()
source§fn from(r: &'a OwnedTableReference) -> Self
fn from(r: &'a OwnedTableReference) -> Self
Converts to this type from the input type.