Enum sql_parse::TableOption
source · pub enum TableOption<'a> {
Show 24 variants
AutoExtendSize {
identifier: Span,
value: Identifier<'a>,
},
AutoIncrement {
identifier: Span,
value: Identifier<'a>,
},
AvgRowLength {
identifier: Span,
value: Identifier<'a>,
},
CharSet {
identifier: Span,
value: Identifier<'a>,
},
DefaultCharSet {
identifier: Span,
value: Identifier<'a>,
},
Checksum {
identifier: Span,
value: (bool, Span),
},
Collate {
identifier: Span,
value: Identifier<'a>,
},
DefaultCollate {
identifier: Span,
value: Identifier<'a>,
},
Comment {
identifier: Span,
value: SString<'a>,
},
Compression {
identifier: Span,
value: SString<'a>,
},
Connection {
identifier: Span,
value: SString<'a>,
},
DataDirectory {
identifier: Span,
value: SString<'a>,
},
IndexDirectory {
identifier: Span,
value: SString<'a>,
},
DelayKeyWrite {
identifier: Span,
value: (bool, Span),
},
Encryption {
identifier: Span,
value: (bool, Span),
},
Engine {
identifier: Span,
value: Identifier<'a>,
},
EngineAttribute {
identifier: Span,
value: SString<'a>,
},
InsertMethod {
identifier: Span,
value: Identifier<'a>,
},
KeyBlockSize {
identifier: Span,
value: (usize, Span),
},
MaxRows {
identifier: Span,
value: (usize, Span),
},
MinRows {
identifier: Span,
value: (usize, Span),
},
Password {
identifier: Span,
value: SString<'a>,
},
RowFormat {
identifier: Span,
value: Identifier<'a>,
},
SecondaryEngineAttribute {
identifier: Span,
value: SString<'a>,
},
}
Expand description
Options on created table
Variants§
AutoExtendSize
AutoIncrement
AvgRowLength
CharSet
DefaultCharSet
Checksum
Collate
DefaultCollate
Comment
Compression
Connection
DataDirectory
IndexDirectory
DelayKeyWrite
Encryption
Engine
EngineAttribute
InsertMethod
KeyBlockSize
MaxRows
MinRows
Password
RowFormat
SecondaryEngineAttribute
Trait Implementations§
source§impl<'a> Clone for TableOption<'a>
impl<'a> Clone for TableOption<'a>
source§fn clone(&self) -> TableOption<'a>
fn clone(&self) -> TableOption<'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