#[repr(C)]pub struct YAfterTransactionEvent {
pub before_state: YStateVector,
pub after_state: YStateVector,
pub delete_set: YIdSet,
}Expand description
Event generated for callbacks subscribed using ydoc_observe_after_transaction. It contains
snapshot of changes made within any committed transaction.
Fields§
§before_state: YStateVectorDescriptor of a document state at the moment of creating the transaction.
after_state: YStateVectorDescriptor of a document state at the moment of committing the transaction.
delete_set: YIdSetInformation about all items deleted within the scope of a transaction.
Auto Trait Implementations§
impl Freeze for YAfterTransactionEvent
impl RefUnwindSafe for YAfterTransactionEvent
impl !Send for YAfterTransactionEvent
impl !Sync for YAfterTransactionEvent
impl Unpin for YAfterTransactionEvent
impl UnsafeUnpin for YAfterTransactionEvent
impl UnwindSafe for YAfterTransactionEvent
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