Skip to main content

TextDelta

Type Alias TextDelta 

Source
pub type TextDelta = RgaDelta<char>;
Expand description

Delta for TextCrdt — delegates to RgaDelta<char>.

Aliased Type§

pub struct TextDelta {
    pub new_elements: Vec<RgaNode<char>>,
    pub tombstoned_ids: Vec<(u64, u64)>,
    pub version: BTreeMap<u64, u64>,
}

Fields§

§new_elements: Vec<RgaNode<char>>

Elements that the other replica doesn’t have yet.

§tombstoned_ids: Vec<(u64, u64)>

IDs of elements that are deleted in source but not in other.

§version: BTreeMap<u64, u64>

Version vector of the source.