pub struct TableOptions {
pub engine: Option<Cow<'static, str>>,
pub charset: Option<Cow<'static, str>>,
pub collate: Option<Cow<'static, str>>,
}Expand description
MySQL table-level storage options (ENGINE, DEFAULT CHARSET, COLLATE).
Ignored by PostgreSQL and SQLite.
Fields§
§engine: Option<Cow<'static, str>>Storage engine, e.g. InnoDB.
charset: Option<Cow<'static, str>>Default character set, e.g. utf8mb4.
collate: Option<Cow<'static, str>>Default collation, e.g. utf8mb4_bin.
Implementations§
Trait Implementations§
Source§impl Clone for TableOptions
impl Clone for TableOptions
Source§impl Debug for TableOptions
impl Debug for TableOptions
Source§impl Default for TableOptions
impl Default for TableOptions
impl Eq for TableOptions
Source§impl PartialEq for TableOptions
impl PartialEq for TableOptions
impl StructuralPartialEq for TableOptions
Auto Trait Implementations§
impl Forget for TableOptions
impl Freeze for TableOptions
impl Move for TableOptions
impl RefUnwindSafe for TableOptions
impl Send for TableOptions
impl Sync for TableOptions
impl Unpin for TableOptions
impl UnsafeUnpin for TableOptions
impl UnwindSafe for TableOptions
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