Enum sqlparser::ast::KeyOrIndexDisplay
source · pub enum KeyOrIndexDisplay {
None,
Key,
Index,
}Expand description
Representation whether a definition can can contains the KEY or INDEX keywords with the same meaning.
This enum initially is directed to FULLTEXT,SPATIAL, and UNIQUE indexes on create table
statements of MySQL [(1)].
Variants§
Trait Implementations§
source§impl Clone for KeyOrIndexDisplay
impl Clone for KeyOrIndexDisplay
source§fn clone(&self) -> KeyOrIndexDisplay
fn clone(&self) -> KeyOrIndexDisplay
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