pub enum AlterAction {
AddColumn(ColumnDef),
DropColumn {
column: String,
cascade: bool,
},
RenameColumn {
from: String,
to: String,
},
SetRetain {
duration_seconds: u64,
sync_safe: bool,
},
DropRetain,
SetSyncConflictPolicy(String),
DropSyncConflictPolicy,
}Variants§
AddColumn(ColumnDef)
DropColumn
RenameColumn
SetRetain
DropRetain
SetSyncConflictPolicy(String)
DropSyncConflictPolicy
Trait Implementations§
Source§impl Clone for AlterAction
impl Clone for AlterAction
Source§fn clone(&self) -> AlterAction
fn clone(&self) -> AlterAction
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 AlterAction
impl RefUnwindSafe for AlterAction
impl Send for AlterAction
impl Sync for AlterAction
impl Unpin for AlterAction
impl UnsafeUnpin for AlterAction
impl UnwindSafe for AlterAction
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