pub struct TableDiff { /* private fields */ }Expand description
Table diff tracking changes for a single table.
Implementations§
Source§impl TableDiff
impl TableDiff
Sourcepub fn table_name(&self) -> &str
pub fn table_name(&self) -> &str
Returns the table name.
Sourcepub fn get_deleted(&self) -> &BTreeMap<RowId, Row>
pub fn get_deleted(&self) -> &BTreeMap<RowId, Row>
Returns deleted rows.
Sourcepub fn get_reverse(&self) -> Self
pub fn get_reverse(&self) -> Self
Returns the reverse of this diff (for rollback).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TableDiff
impl RefUnwindSafe for TableDiff
impl Send for TableDiff
impl Sync for TableDiff
impl Unpin for TableDiff
impl UnwindSafe for TableDiff
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