pub struct JsonCrdtDelta {
pub object_changes: Vec<ObjectChange>,
pub array_changes: Vec<ArrayChange>,
pub new_objects: Vec<ObjectId>,
pub new_arrays: Vec<ArrayId>,
}Expand description
Delta for JSON CRDT operations.
Fields§
§object_changes: Vec<ObjectChange>Object field changes.
array_changes: Vec<ArrayChange>Array changes.
new_objects: Vec<ObjectId>New objects created.
new_arrays: Vec<ArrayId>New arrays created.
Implementations§
Trait Implementations§
Source§impl Clone for JsonCrdtDelta
impl Clone for JsonCrdtDelta
Source§fn clone(&self) -> JsonCrdtDelta
fn clone(&self) -> JsonCrdtDelta
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JsonCrdtDelta
impl Debug for JsonCrdtDelta
Source§impl Default for JsonCrdtDelta
impl Default for JsonCrdtDelta
Source§impl<'de> Deserialize<'de> for JsonCrdtDelta
impl<'de> Deserialize<'de> for JsonCrdtDelta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JsonCrdtDelta
impl PartialEq for JsonCrdtDelta
Source§impl Serialize for JsonCrdtDelta
impl Serialize for JsonCrdtDelta
impl StructuralPartialEq for JsonCrdtDelta
Auto Trait Implementations§
impl Freeze for JsonCrdtDelta
impl RefUnwindSafe for JsonCrdtDelta
impl Send for JsonCrdtDelta
impl Sync for JsonCrdtDelta
impl Unpin for JsonCrdtDelta
impl UnwindSafe for JsonCrdtDelta
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