pub struct MutationAssignmentTarget<'a> {
pub table: &'a str,
pub target: &'a AssignmentTarget<ScalarExpr>,
pub current: Option<&'a Value>,
pub final_column_write: bool,
pub action: &'a str,
pub new_row: bool,
}Fields§
§table: &'a str§target: &'a AssignmentTarget<ScalarExpr>§current: Option<&'a Value>§final_column_write: bool§action: &'a str§new_row: boolWhether the assignment builds a row an INSERT adds. DEFAULT leaves such a row’s identity column out, for the identity generator to draw its value under the statement’s OVERRIDING clause; it draws the next sequence value for a row an update assigns.
Trait Implementations§
Source§impl<'a> Clone for MutationAssignmentTarget<'a>
impl<'a> Clone for MutationAssignmentTarget<'a>
impl<'a> Copy for MutationAssignmentTarget<'a>
Auto Trait Implementations§
impl<'a> Freeze for MutationAssignmentTarget<'a>
impl<'a> RefUnwindSafe for MutationAssignmentTarget<'a>
impl<'a> Send for MutationAssignmentTarget<'a>
impl<'a> Sync for MutationAssignmentTarget<'a>
impl<'a> Unpin for MutationAssignmentTarget<'a>
impl<'a> UnsafeUnpin for MutationAssignmentTarget<'a>
impl<'a> UnwindSafe for MutationAssignmentTarget<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more