#[non_exhaustive]pub struct Changes {
pub inserted: usize,
pub updated: usize,
pub deleted: usize,
}Expand description
What an upsert or delete did.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.inserted: usizeKeys that were new.
updated: usizeKeys whose row was replaced.
deleted: usizeKeys removed.
Trait Implementations§
impl Copy for Changes
impl Eq for Changes
impl StructuralPartialEq for Changes
Auto Trait Implementations§
impl Freeze for Changes
impl RefUnwindSafe for Changes
impl Send for Changes
impl Sync for Changes
impl Unpin for Changes
impl UnsafeUnpin for Changes
impl UnwindSafe for Changes
Blanket Implementations§
impl<T> Allocation for T
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