pub struct AlterTableExpr {
pub table: String,
pub action: AlterAction,
}Expand description
alter User add column status: str / alter User drop column status
Fields§
§table: String§action: AlterActionTrait Implementations§
Source§impl Clone for AlterTableExpr
impl Clone for AlterTableExpr
Source§fn clone(&self) -> AlterTableExpr
fn clone(&self) -> AlterTableExpr
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 AlterTableExpr
impl Debug for AlterTableExpr
Source§impl PartialEq for AlterTableExpr
impl PartialEq for AlterTableExpr
Source§fn eq(&self, other: &AlterTableExpr) -> bool
fn eq(&self, other: &AlterTableExpr) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AlterTableExpr
Auto Trait Implementations§
impl Freeze for AlterTableExpr
impl RefUnwindSafe for AlterTableExpr
impl Send for AlterTableExpr
impl Sync for AlterTableExpr
impl Unpin for AlterTableExpr
impl UnsafeUnpin for AlterTableExpr
impl UnwindSafe for AlterTableExpr
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