pub struct ParsedRow {
pub raw: Vec<u8>,
pub pk: Option<PkTuple>,
pub fk_values: Vec<(FkRef, PkTuple)>,
pub all_values: Vec<PkValue>,
}Expand description
A parsed row from an INSERT statement
Fields§
§raw: Vec<u8>Raw bytes of the row value list: “(val1, val2, …)”
pk: Option<PkTuple>Extracted primary key values (if table has PK and values are non-NULL)
fk_values: Vec<(FkRef, PkTuple)>Extracted foreign key values with their references Only includes FKs where all columns are non-NULL
all_values: Vec<PkValue>All column values (for data diff comparison)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParsedRow
impl RefUnwindSafe for ParsedRow
impl Send for ParsedRow
impl Sync for ParsedRow
impl Unpin for ParsedRow
impl UnwindSafe for ParsedRow
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