Enum restq::ast::ddl::AlterOperation
source · pub enum AlterOperation {
DropColumn(ColumnName),
AddColumn(ColumnDef),
AlterColumn(ColumnName, ColumnDef),
}
Variants§
Trait Implementations§
source§impl Clone for AlterOperation
impl Clone for AlterOperation
source§fn clone(&self) -> AlterOperation
fn clone(&self) -> AlterOperation
Returns a copy 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 AlterOperation
impl Debug for AlterOperation
source§impl<'de> Deserialize<'de> for AlterOperation
impl<'de> Deserialize<'de> for AlterOperation
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
source§impl PartialEq for AlterOperation
impl PartialEq for AlterOperation
source§fn eq(&self, other: &AlterOperation) -> bool
fn eq(&self, other: &AlterOperation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AlterOperation
impl Serialize for AlterOperation
impl StructuralPartialEq for AlterOperation
Auto Trait Implementations§
impl Freeze for AlterOperation
impl RefUnwindSafe for AlterOperation
impl Send for AlterOperation
impl Sync for AlterOperation
impl Unpin for AlterOperation
impl UnwindSafe for AlterOperation
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