pub struct ApplyResult {
pub had_fk_violations: bool,
pub constraint_conflict_tables: Vec<String>,
pub winning_rows: Vec<WinningRow>,
}Expand description
Result of applying a changeset.
Fields§
§had_fk_violations: boolTrue if any FK violations were reported. The caller may retry this changeset after applying other changesets that contain the missing parent rows.
constraint_conflict_tables: Vec<String>Tables that hit non-retryable SQLite constraint conflicts. The caller must roll back the transaction when this is non-empty.
winning_rows: Vec<WinningRow>Incoming rows whose exact row value won arbitration. A missing stamp identifies a winning deletion.
Auto Trait Implementations§
impl Freeze for ApplyResult
impl RefUnwindSafe for ApplyResult
impl Send for ApplyResult
impl Sync for ApplyResult
impl Unpin for ApplyResult
impl UnsafeUnpin for ApplyResult
impl UnwindSafe for ApplyResult
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