#[repr(C)]
pub struct YAfterTransactionEvent { pub before_state: YStateVector, pub after_state: YStateVector, pub delete_set: YDeleteSet, }
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: YStateVector

Descriptor of a document state at the moment of creating the transaction.

after_state: YStateVector

Descriptor of a document state at the moment of committing the transaction.

delete_set: YDeleteSet

Information about all items deleted within the scope of a transaction.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.