pub struct Change {
pub id: String,
pub table_name: String,
pub row_id: String,
pub column_name: String,
pub value: Value,
pub cell_version: u64,
pub table_version: u64,
pub db_version: u64,
pub node_id: String,
pub transaction_type: TransactionType,
}Expand description
Represents a change in the database.
Change contains detailed information about a specific change in the database,
including the affected table, row, column, and the new value.
Fields§
§id: String§table_name: String§row_id: String§column_name: String§value: Value§cell_version: u64§table_version: u64§db_version: u64§node_id: String§transaction_type: TransactionTypeTrait Implementations§
Auto Trait Implementations§
impl Freeze for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnwindSafe for Change
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