pub enum ColumnChange {
Type {
column: String,
old: ColumnType,
new: ColumnType,
},
Default {
column: String,
old: Option<String>,
new: Option<String>,
},
Nullable {
column: String,
old: bool,
new: bool,
},
Unique {
column: String,
old: bool,
new: bool,
},
}Variants§
Trait Implementations§
Source§impl Clone for ColumnChange
impl Clone for ColumnChange
Source§fn clone(&self) -> ColumnChange
fn clone(&self) -> ColumnChange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ColumnChange
impl Debug for ColumnChange
Source§impl PartialEq for ColumnChange
impl PartialEq for ColumnChange
impl StructuralPartialEq for ColumnChange
Auto Trait Implementations§
impl Freeze for ColumnChange
impl RefUnwindSafe for ColumnChange
impl Send for ColumnChange
impl Sync for ColumnChange
impl Unpin for ColumnChange
impl UnsafeUnpin for ColumnChange
impl UnwindSafe for ColumnChange
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