pub struct BoundAssignment {
pub column: u16,
pub rowid: bool,
pub value: BoundExpr,
}Expand description
One SET assignment.
Fields§
§column: u16The column being assigned, as a declared position.
rowid: boolWhether the assignment names the row’s own rowid rather than a declared
column, in which case column says nothing.
UPDATE t SET rowid = 100 was no such column: rowid (task-1979,
F9). An assignment target was looked up with column_position, which
only knows the columns the table declares, and a table with no INTEGER
PRIMARY KEY declares none for its rowid. SQLite accepts all three
spellings of the rowid on either kind of table and moves the row to the
new key.
value: BoundExprThe new value.
Trait Implementations§
Source§impl Clone for BoundAssignment
impl Clone for BoundAssignment
Source§impl Debug for BoundAssignment
impl Debug for BoundAssignment
Source§impl PartialEq for BoundAssignment
impl PartialEq for BoundAssignment
impl StructuralPartialEq for BoundAssignment
Auto Trait Implementations§
impl !Send for BoundAssignment
impl !Sync for BoundAssignment
impl Freeze for BoundAssignment
impl RefUnwindSafe for BoundAssignment
impl Unpin for BoundAssignment
impl UnsafeUnpin for BoundAssignment
impl UnwindSafe for BoundAssignment
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