pub struct InsertSelectConsumerState<S: Clone + 'static> {Show 20 fields
pub stmt: Produced<InsertPlan>,
pub params: Produced<Vec<SQLParam>>,
pub snapshot_scope: CteScope<S>,
pub auto_id_column: Option<Produced<String>>,
pub id_column: Produced<String>,
pub identity_source: IdentitySource,
pub conflict_update_columns: Produced<Vec<String>>,
pub supplied_columns: Produced<Vec<String>>,
pub statement_relation: Produced<String>,
pub discarded_identities: OwnedSet<Produced<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: ReturningRows,
pub events: MutationEventQueue,
pub has_prepared_effect: bool,
pub has_prepared_auto_identity: bool,
pub supplied_identities: SuppliedIdentities,
/* private fields */
}Fields§
§stmt: Produced<InsertPlan>§params: Produced<Vec<SQLParam>>§snapshot_scope: CteScope<S>§auto_id_column: Option<Produced<String>>§id_column: Produced<String>§identity_source: IdentitySource§conflict_update_columns: Produced<Vec<String>>§supplied_columns: Produced<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: Produced<String>The catalog name of the relation the statement names.
discarded_identities: OwnedSet<Produced<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: ReturningRows§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