pub enum IndexedBy {
NotIndexed,
Index(Cow<'static, str>),
}Expand description
SQLite’s index directive.
Three states rather than bob’s *string with "" standing for NOT INDEXED:
an empty index name is not a thing SQLite has a syntax for, so it should not be
representable.
Variants§
NotIndexed
NOT INDEXED — refuse the index the planner would have chosen.
Index(Cow<'static, str>)
INDEXED BY <name>.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IndexedBy
impl RefUnwindSafe for IndexedBy
impl Send for IndexedBy
impl Sync for IndexedBy
impl Unpin for IndexedBy
impl UnsafeUnpin for IndexedBy
impl UnwindSafe for IndexedBy
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