pub struct AlterTableStatement {
pub name: String,
pub targets: Vec<AlterTableTarget>,
}Expand description
v6.7.2 — ALTER TABLE t SET <setting> = <value>. v6.7.2 ships
the single hot_tier_bytes setting; later v6.7.x sub-versions
can add more SET subjects without changing the dispatch shape.
Fields§
§name: String§targets: Vec<AlterTableTarget>v7.13.2 — mailrs round-6 S1. One or more subactions separated by commas in the source SQL. PG-semantic apply is sequential; engine bails on first error (no transactional rollback of completed subactions in v7.13). Single-subaction shape stays a 1-element vec.
Trait Implementations§
Source§impl Clone for AlterTableStatement
impl Clone for AlterTableStatement
Source§fn clone(&self) -> AlterTableStatement
fn clone(&self) -> AlterTableStatement
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 AlterTableStatement
impl Debug for AlterTableStatement
Source§impl PartialEq for AlterTableStatement
impl PartialEq for AlterTableStatement
Source§fn eq(&self, other: &AlterTableStatement) -> bool
fn eq(&self, other: &AlterTableStatement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AlterTableStatement
Auto Trait Implementations§
impl Freeze for AlterTableStatement
impl RefUnwindSafe for AlterTableStatement
impl Send for AlterTableStatement
impl Sync for AlterTableStatement
impl Unpin for AlterTableStatement
impl UnsafeUnpin for AlterTableStatement
impl UnwindSafe for AlterTableStatement
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