pub struct AlterTable {
pub name: Name,
pub action: AlterTableAction,
}Expand description
A statement to alter a SQL table.
Fields§
§name: NameCurrent name of the table.
action: AlterTableActionThe alteration to apply.
Trait Implementations§
Source§impl Clone for AlterTable
impl Clone for AlterTable
Source§fn clone(&self) -> AlterTable
fn clone(&self) -> AlterTable
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 AlterTable
impl Debug for AlterTable
Source§impl From<AlterTable> for Statement
impl From<AlterTable> for Statement
Source§fn from(value: AlterTable) -> Self
fn from(value: AlterTable) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AlterTable
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