pub struct Alter {
pub name: Slice,
pub quiet: bool,
pub view: bool,
pub action: AlterAction,
}Expand description
ALTER TABLE name action or ALTER VIEW name RENAME TO other.
One action a statement, because the pin refuses a list of them in the parser.
Fields§
§name: SliceThe table or view, as a run of parts, outermost first.
quiet: boolWhether IF EXISTS was written, which makes a missing table no error.
view: boolWhether this is ALTER VIEW rather than ALTER TABLE.
action: AlterActionWhat it does.
Trait Implementations§
impl Copy for Alter
impl Eq for Alter
impl StructuralPartialEq for Alter
Auto Trait Implementations§
impl Freeze for Alter
impl RefUnwindSafe for Alter
impl Send for Alter
impl Sync for Alter
impl Unpin for Alter
impl UnsafeUnpin for Alter
impl UnwindSafe for Alter
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