pub enum AssignmentSource<'a> {
Expression(&'a ScalarExpr),
Query {
row: Option<OwnedPhysicalRow>,
},
}Variants§
Implementations§
Source§impl<'a> AssignmentSource<'a>
impl<'a> AssignmentSource<'a>
pub fn evaluate<S: Clone + 'static>( services: MutationAssignmentContext<'_, S>, ctes: &CteScope<S>, assignment: &'a AssignmentPlan, row: Option<&OwnedPhysicalRow>, params: &[SQLParam], ) -> Result<Self, SQLError>
pub fn input(&self, position: usize) -> AssignmentInput<'_>
Auto Trait Implementations§
impl<'a> Freeze for AssignmentSource<'a>
impl<'a> RefUnwindSafe for AssignmentSource<'a>
impl<'a> Send for AssignmentSource<'a>
impl<'a> Sync for AssignmentSource<'a>
impl<'a> Unpin for AssignmentSource<'a>
impl<'a> UnsafeUnpin for AssignmentSource<'a>
impl<'a> UnwindSafe for AssignmentSource<'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
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