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

Fields

identifier: Span
value: Identifier<'a>

AutoIncrement

Fields

identifier: Span
value: Identifier<'a>

AvgRowLength

Fields

identifier: Span
value: Identifier<'a>

CharSet

Fields

identifier: Span
value: Identifier<'a>

DefaultCharSet

Fields

identifier: Span
value: Identifier<'a>

Checksum

Fields

identifier: Span
value: (bool, Span)

Collate

Fields

identifier: Span
value: Identifier<'a>

DefaultCollate

Fields

identifier: Span
value: Identifier<'a>

Comment

Fields

identifier: Span
value: SString<'a>

Compression

Fields

identifier: Span
value: SString<'a>

Connection

Fields

identifier: Span
value: SString<'a>

DataDirectory

Fields

identifier: Span
value: SString<'a>

IndexDirectory

Fields

identifier: Span
value: SString<'a>

DelayKeyWrite

Fields

identifier: Span
value: (bool, Span)

Encryption

Fields

identifier: Span
value: (bool, Span)

Engine

Fields

identifier: Span
value: Identifier<'a>

EngineAttribute

Fields

identifier: Span
value: SString<'a>

InsertMethod

Fields

identifier: Span
value: Identifier<'a>

KeyBlockSize

Fields

identifier: Span
value: (usize, Span)

MaxRows

Fields

identifier: Span
value: (usize, Span)

MinRows

Fields

identifier: Span
value: (usize, Span)

Password

Fields

identifier: Span
value: SString<'a>

RowFormat

Fields

identifier: Span
value: Identifier<'a>

SecondaryEngineAttribute

Fields

identifier: Span
value: SString<'a>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Compute byte span of an ast fragment

Compute the minimal span containing both self and other

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.