pub struct IndexColumnMetadata {
pub column_name: &'static str,
pub descending: bool,
}Expand description
Columns participating in an index and their sort direction.
Fields§
§column_name: &'static str§descending: boolImplementations§
Source§impl IndexColumnMetadata
impl IndexColumnMetadata
pub const fn asc(column_name: &'static str) -> IndexColumnMetadata
pub const fn desc(column_name: &'static str) -> IndexColumnMetadata
Trait Implementations§
Source§impl Clone for IndexColumnMetadata
impl Clone for IndexColumnMetadata
Source§fn clone(&self) -> IndexColumnMetadata
fn clone(&self) -> IndexColumnMetadata
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 IndexColumnMetadata
impl Debug for IndexColumnMetadata
Source§impl PartialEq for IndexColumnMetadata
impl PartialEq for IndexColumnMetadata
Source§fn eq(&self, other: &IndexColumnMetadata) -> bool
fn eq(&self, other: &IndexColumnMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for IndexColumnMetadata
impl Eq for IndexColumnMetadata
impl StructuralPartialEq for IndexColumnMetadata
Auto Trait Implementations§
impl Freeze for IndexColumnMetadata
impl RefUnwindSafe for IndexColumnMetadata
impl Send for IndexColumnMetadata
impl Sync for IndexColumnMetadata
impl Unpin for IndexColumnMetadata
impl UnsafeUnpin for IndexColumnMetadata
impl UnwindSafe for IndexColumnMetadata
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