pub enum TableIndexDirective {
MySql(TableIndexHints),
IndexedBy(Ident),
NotIndexed,
}Expand description
A table-level index-selection directive, see TableFactor::Table::index_directives.
Variants§
MySql(TableIndexHints)
{USE | IGNORE | FORCE} {INDEX | KEY} [FOR ...] (index_name, ...), see
MySQL
IndexedBy(Ident)
Require the named index with SQLite’s INDEXED BY.
NotIndexed
Prohibit index use except rowid lookups with SQLite’s NOT INDEXED.
Trait Implementations§
Source§impl Clone for TableIndexDirective
impl Clone for TableIndexDirective
Source§fn clone(&self) -> TableIndexDirective
fn clone(&self) -> TableIndexDirective
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 TableIndexDirective
impl Debug for TableIndexDirective
Source§impl Display for TableIndexDirective
impl Display for TableIndexDirective
impl Eq for TableIndexDirective
Source§impl Hash for TableIndexDirective
impl Hash for TableIndexDirective
Source§impl Ord for TableIndexDirective
impl Ord for TableIndexDirective
Source§fn cmp(&self, other: &TableIndexDirective) -> Ordering
fn cmp(&self, other: &TableIndexDirective) -> 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TableIndexDirective
impl PartialEq for TableIndexDirective
Source§impl PartialOrd for TableIndexDirective
impl PartialOrd for TableIndexDirective
impl StructuralPartialEq for TableIndexDirective
Auto Trait Implementations§
impl Freeze for TableIndexDirective
impl RefUnwindSafe for TableIndexDirective
impl Send for TableIndexDirective
impl Sync for TableIndexDirective
impl Unpin for TableIndexDirective
impl UnsafeUnpin for TableIndexDirective
impl UnwindSafe for TableIndexDirective
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