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
sourceimpl<'a> Clone for TableOption<'a>
impl<'a> Clone for TableOption<'a>
sourcefn clone(&self) -> TableOption<'a>
fn clone(&self) -> TableOption<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for TableOption<'a>
impl<'a> Debug for TableOption<'a>
sourceimpl<'a> Spanned for TableOption<'a>
impl<'a> Spanned for TableOption<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for TableOption<'a>
impl<'a> Send for TableOption<'a>
impl<'a> Sync for TableOption<'a>
impl<'a> Unpin for TableOption<'a>
impl<'a> UnwindSafe for TableOption<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more