pub struct SqlInsertFact {
pub table: String,
pub catalog_table: String,
pub line: usize,
pub column: usize,
pub executed: bool,
pub on_conflict: Option<SqlOnConflictFact>,
pub guarded_select: bool,
pub target_columns: Vec<String>,
pub overwritten_columns: Vec<String>,
pub assignments: Vec<SqlAssignmentFact>,
}Expand description
One executed INSERT recovered from PostgreSQL SQL.
Fields§
§table: String§catalog_table: StringQualified identifier with PostgreSQL case and quoting preserved.
line: usize§column: usize§executed: bool§on_conflict: Option<SqlOnConflictFact>§guarded_select: bool§target_columns: Vec<String>§overwritten_columns: Vec<String>Whole columns assigned from their same-named EXCLUDED values.
assignments: Vec<SqlAssignmentFact>INSERT SET assignments, or column/value forms from VALUES / SELECT.
Trait Implementations§
Source§impl Clone for SqlInsertFact
impl Clone for SqlInsertFact
Source§fn clone(&self) -> SqlInsertFact
fn clone(&self) -> SqlInsertFact
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SqlInsertFact
impl Debug for SqlInsertFact
impl Eq for SqlInsertFact
Source§impl PartialEq for SqlInsertFact
impl PartialEq for SqlInsertFact
impl StructuralPartialEq for SqlInsertFact
Auto Trait Implementations§
impl Forget for SqlInsertFact
impl Freeze for SqlInsertFactwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Vec<String>>: Freeze,
PhantomData<SqlAssignmentFact>: Freeze,
impl Move for SqlInsertFact
impl RefUnwindSafe for SqlInsertFact
impl Send for SqlInsertFactwhere
RawVecInner: Send,
impl Sync for SqlInsertFactwhere
RawVecInner: Sync,
impl Unpin for SqlInsertFact
impl UnsafeUnpin for SqlInsertFactwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Vec<String>>: UnsafeUnpin,
PhantomData<SqlAssignmentFact>: UnsafeUnpin,
impl UnwindSafe for SqlInsertFactwhere
RawVecInner: UnwindSafe,
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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