pub struct Fill {
pub table: u32,
pub column: i16,
pub default: Option<String>,
}Expand description
The default of a new column of ALTER TABLE ... ADD COLUMN, as ATExecAddColumn keeps it in tab->newvals, or the new expression of a generated column of SET EXPRESSION. The rows of the table get this default, also when a later subcommand of the statement sets or drops the default of the column.
Fields§
§table: u32The OID of the table.
column: i16The number of the column.
default: Option<String>The text of the default expression, or None for a column with no default, which gets a null.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fill
impl RefUnwindSafe for Fill
impl Send for Fill
impl Sync for Fill
impl Unpin for Fill
impl UnsafeUnpin for Fill
impl UnwindSafe for Fill
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