pub struct AlterColumnChanges {
pub new_name: Option<String>,
pub new_ty: Option<Type>,
pub new_not_null: Option<bool>,
pub new_auto_increment: Option<bool>,
}Expand description
A statement to alter a column in a table.
Fields§
§new_name: Option<String>New name for the column (if renaming).
new_ty: Option<Type>New type information.
new_not_null: Option<bool>New nullability constraint.
new_auto_increment: Option<bool>New auto increment behavior.
Implementations§
Trait Implementations§
Source§impl Clone for AlterColumnChanges
impl Clone for AlterColumnChanges
Source§fn clone(&self) -> AlterColumnChanges
fn clone(&self) -> AlterColumnChanges
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 moreAuto Trait Implementations§
impl Freeze for AlterColumnChanges
impl RefUnwindSafe for AlterColumnChanges
impl Send for AlterColumnChanges
impl Sync for AlterColumnChanges
impl Unpin for AlterColumnChanges
impl UnwindSafe for AlterColumnChanges
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