pub enum TableOption<'a> {
Show 36 variants
AutoExtendSize {
identifier: Span,
value: (usize, Span),
},
AutoIncrement {
identifier: Span,
value: (u64, Span),
},
AvgRowLength {
identifier: Span,
value: (usize, Span),
},
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),
},
PackKeys {
identifier: Span,
value: (usize, Span),
},
Password {
identifier: Span,
value: SString<'a>,
},
RowFormat {
identifier: Span,
value: Identifier<'a>,
},
SecondaryEngineAttribute {
identifier: Span,
value: SString<'a>,
},
StartTransaction {
identifier: Span,
},
StatsAutoRecalc {
identifier: Span,
value: (usize, Span),
},
StatsPersistent {
identifier: Span,
value: (usize, Span),
},
StatsSamplePages {
identifier: Span,
value: (usize, Span),
},
Storage {
identifier: Span,
value: Identifier<'a>,
},
Strict {
identifier: Span,
},
Tablespace {
identifier: Span,
value: Identifier<'a>,
},
Union {
identifier: Span,
value: Vec<Identifier<'a>>,
},
Inherits {
identifier: Span,
value: Vec<QualifiedName<'a>>,
},
WithOptions {
identifier: Span,
options: Vec<(Identifier<'a>, Expression<'a>)>,
},
OnCommit {
identifier: Span,
action: OnCommitAction,
},
}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
PackKeys
Password
RowFormat
SecondaryEngineAttribute
StartTransaction
StatsAutoRecalc
StatsPersistent
StatsSamplePages
Storage
Strict
Tablespace
Union
Inherits
WithOptions
PostgreSQL WITH (storage_parameter = value, …) table options
OnCommit
PostgreSQL ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP }
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 duplicate 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 moreSource§impl<'a> Debug for TableOption<'a>
impl<'a> Debug for TableOption<'a>
Auto Trait Implementations§
impl<'a> Freeze for TableOption<'a>
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> UnsafeUnpin for TableOption<'a>
impl<'a> UnwindSafe for TableOption<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more