pub struct DocChange {
pub collection: String,
pub op: ChangeOp,
pub doc_id: Vec<u8>,
}Expand description
One committed document change. doc_id is the raw key bytes (the
notifier sits at the M1 bytes boundary); M3 reactive correctness
uses only CommitEvent::touched_collections.
Fields§
§collection: String§op: ChangeOp§doc_id: Vec<u8>Trait Implementations§
Auto Trait Implementations§
impl Freeze for DocChange
impl RefUnwindSafe for DocChange
impl Send for DocChange
impl Sync for DocChange
impl Unpin for DocChange
impl UnsafeUnpin for DocChange
impl UnwindSafe for DocChange
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