pub struct AlterTableCmd {
pub subtype: AlterTableType,
pub name: Option<String>,
pub def: Option<AlterTableDef>,
pub behavior: DropBehavior,
pub missing_ok: bool,
}
Fields§
§subtype: AlterTableType
Type of table alteration to apply
name: Option<String>
column, constraint, or trigger to act on, or tablespace
def: Option<AlterTableDef>
definition of new column, index, constraint, or parent table
behavior: DropBehavior
§missing_ok: bool
skip error if missing?
Trait Implementations§
Source§impl Debug for AlterTableCmd
impl Debug for AlterTableCmd
Source§impl<'de> Deserialize<'de> for AlterTableCmd
impl<'de> Deserialize<'de> for AlterTableCmd
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
Auto Trait Implementations§
impl Freeze for AlterTableCmd
impl RefUnwindSafe for AlterTableCmd
impl Send for AlterTableCmd
impl Sync for AlterTableCmd
impl Unpin for AlterTableCmd
impl UnwindSafe for AlterTableCmd
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