#[repr(C)]pub struct YMapEvent { /* private fields */ }Expand description
Event pushed into callbacks registered with ymap_observe function. It contains all
key-value changes made within a scope of corresponding transaction (see: ymap_event_keys) as
well as navigation data used to identify a YMap instance which triggered this event.
Methods from Deref<Target = MapEvent>§
sourcepub fn path(&self) -> VecDeque<PathSegment, Global>
pub fn path(&self) -> VecDeque<PathSegment, Global>
Returns a path from root type down to Map instance which emitted this event.
sourcepub fn keys(
&self,
txn: &TransactionMut<'_>
) -> &HashMap<Rc<str>, EntryChange, RandomState>
pub fn keys(
&self,
txn: &TransactionMut<'_>
) -> &HashMap<Rc<str>, EntryChange, RandomState>
Returns a summary of key-value changes made over corresponding Map collection within bounds of current transaction.