pub struct TableRef { /* private fields */ }Expand description
A table reference with optional schema qualification.
Implementations§
Source§impl TableRef
impl TableRef
Sourcepub fn with_schema(self, schema: SchemaName) -> TableRef
pub fn with_schema(self, schema: SchemaName) -> TableRef
Adds a schema qualifier.
Sourcepub const fn schema(&self) -> Option<&SchemaName>
pub const fn schema(&self) -> Option<&SchemaName>
Returns the optional schema name.
Trait Implementations§
Source§impl Ord for TableRef
impl Ord for TableRef
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 PartialOrd for TableRef
impl PartialOrd for TableRef
impl Eq for TableRef
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 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