pub struct KeyColumn { /* private fields */ }Expand description
A key column reference.
Implementations§
Source§impl KeyColumn
impl KeyColumn
Sourcepub const fn new(column: ColumnName) -> KeyColumn
pub const fn new(column: ColumnName) -> KeyColumn
Creates an unqualified key column.
Sourcepub fn with_table(self, table: TableName) -> KeyColumn
pub fn with_table(self, table: TableName) -> KeyColumn
Adds a table qualifier.
Sourcepub const fn column(&self) -> &ColumnName
pub const fn column(&self) -> &ColumnName
Returns the column name.
Trait Implementations§
Source§impl Ord for KeyColumn
impl Ord for KeyColumn
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 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