pub struct EmbeddedAlterTableRequest<'a> { /* private fields */ }Implementations§
Source§impl EmbeddedAlterTableRequest<'_>
impl EmbeddedAlterTableRequest<'_>
pub fn add_column(self, column: Column) -> Self
pub fn modify_column(self, column: Column) -> Self
pub fn drop_column(self, column: impl Into<String>) -> Self
pub fn rename_column( self, from: impl Into<String>, to: impl Into<String>, ) -> Self
pub fn rename_table(self, to: impl Into<String>) -> Self
pub fn add_constraint(self, constraint: ConstraintDefinitionIr) -> Self
pub fn drop_constraint(self, name: impl Into<String>, if_exists: bool) -> Self
pub fn execute(self) -> OrmResult<TableDescriptor>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for EmbeddedAlterTableRequest<'a>
impl<'a> !UnwindSafe for EmbeddedAlterTableRequest<'a>
impl<'a> Freeze for EmbeddedAlterTableRequest<'a>
impl<'a> Send for EmbeddedAlterTableRequest<'a>
impl<'a> Sync for EmbeddedAlterTableRequest<'a>
impl<'a> Unpin for EmbeddedAlterTableRequest<'a>
impl<'a> UnsafeUnpin for EmbeddedAlterTableRequest<'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