pub struct Transform {
pub table: u32,
pub column: String,
pub expr: Node,
}Expand description
The expression of USING of ALTER COLUMN ... TYPE for one column, as ATPrepAlterColumnType keeps it in tab->newvals.
Fields§
§table: u32The OID of the table.
column: StringThe name of the column.
expr: NodeThe expression before its transform. It refers to the columns of the table by their names, and it gives the old values of the columns.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Transform
impl RefUnwindSafe for Transform
impl Send for Transform
impl Sync for Transform
impl Unpin for Transform
impl UnsafeUnpin for Transform
impl UnwindSafe for Transform
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