pub struct ComponentDiff {
pub component: String,
pub occurrence: usize,
pub ops: Vec<DiffOp<String, ItemValue>>,
}Expand description
Per-component diff between two document revisions: the component identity plus the minimal lazily op set for its item level.
Fields§
§component: StringComponent name.
occurrence: usize0-based occurrence index.
ops: Vec<DiffOp<String, ItemValue>>Minimal per-item ops (Insert/Remove/Move/Update) keyed by the
reorder-stable node-key identity (component:occurrence:item-id).
Implementations§
Trait Implementations§
Source§impl Clone for ComponentDiff
impl Clone for ComponentDiff
Source§impl Debug for ComponentDiff
impl Debug for ComponentDiff
impl Eq for ComponentDiff
Source§impl PartialEq for ComponentDiff
impl PartialEq for ComponentDiff
impl StructuralPartialEq for ComponentDiff
Auto Trait Implementations§
impl Forget for ComponentDiff
impl Freeze for ComponentDiff
impl RefUnwindSafe for ComponentDiff
impl Send for ComponentDiff
impl Sync for ComponentDiff
impl Unpin for ComponentDiff
impl UnsafeUnpin for ComponentDiff
impl UnwindSafe for ComponentDiff
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.