pub struct InsertSelectConsumerState<S: Clone + 'static> {Show 21 fields
pub stmt: InsertPlan,
pub params: Vec<SQLParam>,
pub snapshot_scope: CteScope<S>,
pub auto_id_column: Option<String>,
pub id_column: String,
pub identity_source: IdentitySource,
pub conflict_update_columns: Vec<String>,
pub columns: Option<Vec<AssignmentTarget<ScalarExpr>>>,
pub supplied_columns: Vec<String>,
pub statement_relation: String,
pub discarded_identities: BTreeSet<String>,
pub result_width: Option<usize>,
pub prepared_schema: RowSchema,
pub prepared_buffer: Option<SpillBuffer>,
pub conflict_locks: Option<InsertConflictLocks>,
pub affected: u64,
pub returning_rows: Vec<OwnedPhysicalRow>,
pub events: MutationEventQueue,
pub has_prepared_effect: bool,
pub has_prepared_auto_identity: bool,
pub supplied_identities: SuppliedIdentities,
}Fields§
§stmt: InsertPlan§params: Vec<SQLParam>§snapshot_scope: CteScope<S>§auto_id_column: Option<String>§id_column: String§identity_source: IdentitySource§conflict_update_columns: Vec<String>§columns: Option<Vec<AssignmentTarget<ScalarExpr>>>§supplied_columns: Vec<String>The columns the statement supplies, which its constraint violations show to a role that may not read the table: the target columns the source fills and those ON CONFLICT DO UPDATE sets.
statement_relation: StringThe catalog name of the relation the statement names.
discarded_identities: BTreeSet<String>The identity columns whose source values OVERRIDING USER VALUE discards.
result_width: Option<usize>§prepared_schema: RowSchema§prepared_buffer: Option<SpillBuffer>§conflict_locks: Option<InsertConflictLocks>§affected: u64§returning_rows: Vec<OwnedPhysicalRow>§events: MutationEventQueue§has_prepared_effect: bool§has_prepared_auto_identity: bool§supplied_identities: SuppliedIdentitiesAuto Trait Implementations§
impl<S> !Freeze for InsertSelectConsumerState<S>
impl<S> !RefUnwindSafe for InsertSelectConsumerState<S>
impl<S> !Sync for InsertSelectConsumerState<S>
impl<S> !UnwindSafe for InsertSelectConsumerState<S>
impl<S> Send for InsertSelectConsumerState<S>
impl<S> Unpin for InsertSelectConsumerState<S>
impl<S> UnsafeUnpin for InsertSelectConsumerState<S>where
CteScope<S>: UnsafeUnpin,
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