Enum sql_parse::IndexOption
source · pub enum IndexOption<'a> {
IndexTypeBTree(Span),
IndexTypeHash(Span),
IndexTypeRTree(Span),
Comment(SString<'a>),
}
Expand description
Option on an index
Variants§
IndexTypeBTree(Span)
The index should be a BTree
IndexTypeHash(Span)
The index should be hashed
IndexTypeRTree(Span)
The index should be an RTree
Comment(SString<'a>)
Attach a comment to the index
Trait Implementations§
source§impl<'a> Clone for IndexOption<'a>
impl<'a> Clone for IndexOption<'a>
source§fn clone(&self) -> IndexOption<'a>
fn clone(&self) -> IndexOption<'a>
Returns a copy 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 more