pub struct AlterColumn {
pub id: ColumnId,
pub column_def: ColumnDef,
pub changes: AlterColumnChanges,
}Expand description
A statement to alter a column in a table.
Fields§
§id: ColumnIdID of the column being altered.
column_def: ColumnDefCurrent column definition.
changes: AlterColumnChangesChanges to be made to the column.
Trait Implementations§
Source§impl Clone for AlterColumn
impl Clone for AlterColumn
Source§fn clone(&self) -> AlterColumn
fn clone(&self) -> AlterColumn
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 Debug for AlterColumn
impl Debug for AlterColumn
Source§impl From<AlterColumn> for Statement
impl From<AlterColumn> for Statement
Source§fn from(value: AlterColumn) -> Self
fn from(value: AlterColumn) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AlterColumn
impl RefUnwindSafe for AlterColumn
impl Send for AlterColumn
impl Sync for AlterColumn
impl Unpin for AlterColumn
impl UnwindSafe for AlterColumn
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