pub struct IndexColumn { /* private fields */ }Expand description
An indexed column.
Implementations§
Source§impl IndexColumn
impl IndexColumn
Sourcepub const fn new(column: ColumnName, order: IndexOrder) -> IndexColumn
pub const fn new(column: ColumnName, order: IndexOrder) -> IndexColumn
Creates indexed column metadata.
Sourcepub const fn column(&self) -> &ColumnName
pub const fn column(&self) -> &ColumnName
Returns the column name.
Sourcepub const fn order(&self) -> IndexOrder
pub const fn order(&self) -> IndexOrder
Returns the order metadata.
Trait Implementations§
Source§impl Clone for IndexColumn
impl Clone for IndexColumn
Source§fn clone(&self) -> IndexColumn
fn clone(&self) -> IndexColumn
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 IndexColumn
impl Debug for IndexColumn
Source§impl Hash for IndexColumn
impl Hash for IndexColumn
Source§impl Ord for IndexColumn
impl Ord for IndexColumn
Source§fn cmp(&self, other: &IndexColumn) -> Ordering
fn cmp(&self, other: &IndexColumn) -> 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 IndexColumn
impl PartialEq for IndexColumn
Source§fn eq(&self, other: &IndexColumn) -> bool
fn eq(&self, other: &IndexColumn) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for IndexColumn
impl PartialOrd for IndexColumn
impl Eq for IndexColumn
impl StructuralPartialEq for IndexColumn
Auto Trait Implementations§
impl Freeze for IndexColumn
impl RefUnwindSafe for IndexColumn
impl Send for IndexColumn
impl Sync for IndexColumn
impl Unpin for IndexColumn
impl UnsafeUnpin for IndexColumn
impl UnwindSafe for IndexColumn
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