Struct sql_from_models_parser::ast::AlterTable
source · pub struct AlterTable {
pub name: ObjectName,
pub operation: AlterTableOperation,
}
Expand description
ALTER TABLE
Fields§
§name: ObjectName
Table name
operation: AlterTableOperation
Trait Implementations§
source§impl Clone for AlterTable
impl Clone for AlterTable
source§fn clone(&self) -> AlterTable
fn clone(&self) -> AlterTable
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 AlterTable
impl Debug for AlterTable
source§impl Display for AlterTable
impl Display for AlterTable
source§impl Hash for AlterTable
impl Hash for AlterTable
source§impl PartialEq for AlterTable
impl PartialEq for AlterTable
source§fn eq(&self, other: &AlterTable) -> bool
fn eq(&self, other: &AlterTable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AlterTable
impl StructuralPartialEq for AlterTable
Auto Trait Implementations§
impl RefUnwindSafe for AlterTable
impl Send for AlterTable
impl Sync for AlterTable
impl Unpin for AlterTable
impl UnwindSafe for AlterTable
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