Struct yrs::UpdateEvent
source · pub struct UpdateEvent {
pub update: Vec<u8>,
}
Expand description
An update event passed to a callback subscribed with Doc::observe_update_v1/Doc::observe_update_v2.
Fields§
§update: Vec<u8>
A binary which contains information about all inserted and deleted changes performed within the scope of its TransactionMut.
Auto Trait Implementations§
impl Freeze for UpdateEvent
impl RefUnwindSafe for UpdateEvent
impl Send for UpdateEvent
impl Sync for UpdateEvent
impl Unpin for UpdateEvent
impl UnwindSafe for UpdateEvent
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