Struct leetcode_tui_rs::migrations::Table
pub struct Table;
Expand description
Helper for constructing any table statement
Implementations§
§impl Table
impl Table
pub fn create() -> TableCreateStatement
pub fn create() -> TableCreateStatement
Construct table TableCreateStatement
pub fn alter() -> TableAlterStatement
pub fn alter() -> TableAlterStatement
Construct table TableAlterStatement
pub fn drop() -> TableDropStatement
pub fn drop() -> TableDropStatement
Construct table TableDropStatement
pub fn rename() -> TableRenameStatement
pub fn rename() -> TableRenameStatement
Construct table TableRenameStatement
pub fn truncate() -> TableTruncateStatement
pub fn truncate() -> TableTruncateStatement
Construct table TableTruncateStatement
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
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