pub struct DropColumn {
pub table: TableId,
pub name: Name,
pub if_exists: bool,
}Expand description
A statement to drop a column from a table.
Fields§
§table: TableIdID of the table to drop the column from.
name: NameName of the column to drop.
if_exists: boolWhether or not to add an IF EXISTS clause.
Trait Implementations§
Source§impl Clone for DropColumn
impl Clone for DropColumn
Source§fn clone(&self) -> DropColumn
fn clone(&self) -> DropColumn
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 moreSource§impl Debug for DropColumn
impl Debug for DropColumn
Source§impl From<DropColumn> for Statement
impl From<DropColumn> for Statement
Source§fn from(value: DropColumn) -> Self
fn from(value: DropColumn) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DropColumn
impl RefUnwindSafe for DropColumn
impl Send for DropColumn
impl Sync for DropColumn
impl Unpin for DropColumn
impl UnwindSafe for DropColumn
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