pub struct RuleOutputProjection<'a, S: Clone + 'static> {
pub context: ReturningExecutionContext<'a, S>,
pub shape: DmlReturningShape<'a, S>,
}Fields§
§context: ReturningExecutionContext<'a, S>§shape: DmlReturningShape<'a, S>Implementations§
Source§impl<'a, S: Clone + 'static> RuleOutputProjection<'a, S>
impl<'a, S: Clone + 'static> RuleOutputProjection<'a, S>
pub fn insert( context: ReturningExecutionContext<'a, S>, plan: &'a InsertPlan, params: &'a [SQLParam], ctes: &'a CteScope<S>, ) -> Self
pub fn update( context: ReturningExecutionContext<'a, S>, plan: &'a UpdatePlan, params: &'a [SQLParam], ctes: &'a CteScope<S>, ) -> Self
pub fn delete( context: ReturningExecutionContext<'a, S>, plan: &'a DeletePlan, params: &'a [SQLParam], ctes: &'a CteScope<S>, ) -> Self
pub fn with_table(self, table: &'a str) -> Self
Trait Implementations§
Source§impl<S: Clone + 'static> RuleReturningProjection for RuleOutputProjection<'_, S>
impl<S: Clone + 'static> RuleReturningProjection for RuleOutputProjection<'_, S>
fn project( &self, values: &[Value], width: usize, source: Option<&OwnedPhysicalRow>, ) -> Result<OwnedPhysicalRow, SQLError>
fn destination(&self) -> Option<ReturningDestination<'_>>
Auto Trait Implementations§
impl<'a, S> !RefUnwindSafe for RuleOutputProjection<'a, S>
impl<'a, S> !Send for RuleOutputProjection<'a, S>
impl<'a, S> !Sync for RuleOutputProjection<'a, S>
impl<'a, S> !UnwindSafe for RuleOutputProjection<'a, S>
impl<'a, S> Freeze for RuleOutputProjection<'a, S>
impl<'a, S> Unpin for RuleOutputProjection<'a, S>
impl<'a, S> UnsafeUnpin for RuleOutputProjection<'a, S>
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