pub enum IndexHintKind {
Use,
Ignore,
Force,
}Expand description
Which way a MySQL index hint leans.
Variants§
Use
USE INDEX — prefer these.
Ignore
IGNORE INDEX — do not consider these.
Force
FORCE INDEX — a table scan is not acceptable.
Implementations§
Trait Implementations§
Source§impl Clone for IndexHintKind
impl Clone for IndexHintKind
Source§fn clone(&self) -> IndexHintKind
fn clone(&self) -> IndexHintKind
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 moreimpl Copy for IndexHintKind
Source§impl Debug for IndexHintKind
impl Debug for IndexHintKind
impl Eq for IndexHintKind
Source§impl PartialEq for IndexHintKind
impl PartialEq for IndexHintKind
impl StructuralPartialEq for IndexHintKind
Auto Trait Implementations§
impl Freeze for IndexHintKind
impl RefUnwindSafe for IndexHintKind
impl Send for IndexHintKind
impl Sync for IndexHintKind
impl Unpin for IndexHintKind
impl UnsafeUnpin for IndexHintKind
impl UnwindSafe for IndexHintKind
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