pub enum AlterTableOperationPlan {
AddColumn {
column_def: ColumnDef,
},
DropColumn {
column_name: String,
if_exists: bool,
},
RenameColumn {
old_column_name: String,
new_column_name: String,
},
RenameTable {
table_name: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for AlterTableOperationPlan
impl Clone for AlterTableOperationPlan
Source§fn clone(&self) -> AlterTableOperationPlan
fn clone(&self) -> AlterTableOperationPlan
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 AlterTableOperationPlan
impl Debug for AlterTableOperationPlan
Source§impl<'de> Deserialize<'de> for AlterTableOperationPlan
impl<'de> Deserialize<'de> for AlterTableOperationPlan
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AlterTableOperationPlan
Source§impl From<AlterTableOperation> for AlterTableOperationPlan
impl From<AlterTableOperation> for AlterTableOperationPlan
Source§fn from(operation: AlterTableOperation) -> Self
fn from(operation: AlterTableOperation) -> Self
Converts to this type from the input type.
Source§impl Hash for AlterTableOperationPlan
impl Hash for AlterTableOperationPlan
Source§impl PartialEq for AlterTableOperationPlan
impl PartialEq for AlterTableOperationPlan
Source§impl Serialize for AlterTableOperationPlan
impl Serialize for AlterTableOperationPlan
impl StructuralPartialEq for AlterTableOperationPlan
Auto Trait Implementations§
impl Freeze for AlterTableOperationPlan
impl RefUnwindSafe for AlterTableOperationPlan
impl Send for AlterTableOperationPlan
impl Sync for AlterTableOperationPlan
impl Unpin for AlterTableOperationPlan
impl UnsafeUnpin for AlterTableOperationPlan
impl UnwindSafe for AlterTableOperationPlan
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more