pub enum IndexOrigin {
Auto,
Explicit,
}Expand description
Declares who created the index. Persisted into sqlrite_master.sql so
the text round-trips; auto-created indexes get a synthesized SQL form
so the catalog stays uniform.
Variants§
Auto
Auto-created for a UNIQUE / PRIMARY KEY column at CREATE TABLE time.
Explicit
Explicit CREATE INDEX statement (Phase 3e.2).
Trait Implementations§
Source§impl Clone for IndexOrigin
impl Clone for IndexOrigin
Source§fn clone(&self) -> IndexOrigin
fn clone(&self) -> IndexOrigin
Returns a duplicate of the value. Read more
1.0.0 · 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 IndexOrigin
impl Debug for IndexOrigin
Source§impl PartialEq for IndexOrigin
impl PartialEq for IndexOrigin
impl Copy for IndexOrigin
impl Eq for IndexOrigin
impl StructuralPartialEq for IndexOrigin
Auto Trait Implementations§
impl Freeze for IndexOrigin
impl RefUnwindSafe for IndexOrigin
impl Send for IndexOrigin
impl Sync for IndexOrigin
impl Unpin for IndexOrigin
impl UnsafeUnpin for IndexOrigin
impl UnwindSafe for IndexOrigin
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