pub struct Edit {
pub doc: DocId,
pub domain: String,
pub op: Value,
pub inverse: Value,
}Expand description
Reversible edit carried by a document domain.
Fields§
§doc: DocIdDocument the edit targets.
domain: StringDomain namespace that understands the operation payload.
op: ValueDomain-owned operation payload.
inverse: ValueDomain-owned inverse payload.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Edit
Auto Trait Implementations§
impl !RefUnwindSafe for Edit
impl !UnwindSafe for Edit
impl Freeze for Edit
impl Send for Edit
impl Sync for Edit
impl Unpin for Edit
impl UnsafeUnpin for Edit
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