Struct KeyColumn
pub struct KeyColumn { /* private fields */ }Expand description
A key column reference.
Implementations§
§impl KeyColumn
impl KeyColumn
pub const fn new(column: ColumnName) -> KeyColumn
pub const fn new(column: ColumnName) -> KeyColumn
Creates an unqualified key column.
pub fn with_table(self, table: TableName) -> KeyColumn
pub fn with_table(self, table: TableName) -> KeyColumn
Adds a table qualifier.
pub const fn column(&self) -> &ColumnName
pub const fn column(&self) -> &ColumnName
Returns the column name.
Trait Implementations§
§impl Ord for KeyColumn
impl Ord for KeyColumn
§impl PartialOrd for KeyColumn
impl PartialOrd for KeyColumn
impl Eq for KeyColumn
impl StructuralPartialEq for KeyColumn
Auto Trait Implementations§
impl Freeze for KeyColumn
impl RefUnwindSafe for KeyColumn
impl Send for KeyColumn
impl Sync for KeyColumn
impl Unpin for KeyColumn
impl UnsafeUnpin for KeyColumn
impl UnwindSafe for KeyColumn
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