pub enum AlterColumnAction {
SetOptions(Vec<SqlOption>),
DropNotNull,
SetDataType(DataType),
SetDefault(Expr),
DropDefault,
}Variants§
Trait Implementations§
Source§impl Clone for AlterColumnAction
impl Clone for AlterColumnAction
Source§impl Debug for AlterColumnAction
impl Debug for AlterColumnAction
Source§impl<'de> Deserialize<'de> for AlterColumnAction
impl<'de> Deserialize<'de> for AlterColumnAction
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 AlterColumnAction
Source§impl Hash for AlterColumnAction
impl Hash for AlterColumnAction
Source§impl PartialEq for AlterColumnAction
impl PartialEq for AlterColumnAction
Source§impl Serialize for AlterColumnAction
impl Serialize for AlterColumnAction
impl StructuralPartialEq for AlterColumnAction
Auto Trait Implementations§
impl Forget for AlterColumnAction
impl Freeze for AlterColumnActionwhere
*const u8 is !null: Freeze,
PhantomData<SqlOption>: Freeze,
*const DataType is !null: Freeze,
PhantomData<DataType>: Freeze,
PhantomData<StructField>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Ident>: Freeze,
*const Expr is !null: Freeze,
PhantomData<Expr>: Freeze,
*const Query is !null: Freeze,
PhantomData<Query>: Freeze,
PhantomData<CaseWhen>: Freeze,
PhantomData<StructExprField>: Freeze,
*const Function is !null: Freeze,
PhantomData<Function>: Freeze,
PhantomData<(Ident, Expr)>: Freeze,
impl Move for AlterColumnAction
impl RefUnwindSafe for AlterColumnAction
impl Send for AlterColumnAction
impl Sync for AlterColumnAction
impl Unpin for AlterColumnAction
impl UnsafeUnpin for AlterColumnActionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<SqlOption>: UnsafeUnpin,
*const DataType is !null: UnsafeUnpin,
PhantomData<DataType>: UnsafeUnpin,
PhantomData<StructField>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Ident>: UnsafeUnpin,
*const Expr is !null: UnsafeUnpin,
PhantomData<Expr>: UnsafeUnpin,
*const Query is !null: UnsafeUnpin,
PhantomData<Query>: UnsafeUnpin,
PhantomData<CaseWhen>: UnsafeUnpin,
PhantomData<StructExprField>: UnsafeUnpin,
*const Function is !null: UnsafeUnpin,
PhantomData<Function>: UnsafeUnpin,
PhantomData<(Ident, Expr)>: UnsafeUnpin,
impl UnwindSafe for AlterColumnActionwhere
RawVecInner: UnwindSafe,
BoxRaw<Expr>: UnwindSafe,
BoxRaw<DataType>: UnwindSafe,
BoxRaw<Query>: UnwindSafe,
BoxRaw<Function>: UnwindSafe,
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
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.