pub struct GenericDeltaPayload {
pub tool: String,
pub key: String,
pub fields: Vec<String>,
pub base_root: String,
pub new_root: String,
pub added: Vec<Map<String, Value>>,
pub changed: Vec<Map<String, Value>>,
pub removed: Vec<Value>,
pub delta_tokens: u64,
pub full_tokens: u64,
}Expand description
A diff between two GenericSets (computed by diff_generic_sets or supplied
directly and serialized by encode_generic_delta).
Fields§
§tool: String§key: String§fields: Vec<String>§base_root: String§new_root: String§added: Vec<Map<String, Value>>§changed: Vec<Map<String, Value>>§removed: Vec<Value>§delta_tokens: u64§full_tokens: u64Trait Implementations§
Source§impl Clone for GenericDeltaPayload
impl Clone for GenericDeltaPayload
Source§fn clone(&self) -> GenericDeltaPayload
fn clone(&self) -> GenericDeltaPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GenericDeltaPayload
impl Debug for GenericDeltaPayload
Source§impl Default for GenericDeltaPayload
impl Default for GenericDeltaPayload
Source§fn default() -> GenericDeltaPayload
fn default() -> GenericDeltaPayload
Returns the “default value” for a type. Read more
Source§impl PartialEq for GenericDeltaPayload
impl PartialEq for GenericDeltaPayload
impl StructuralPartialEq for GenericDeltaPayload
Auto Trait Implementations§
impl Freeze for GenericDeltaPayload
impl RefUnwindSafe for GenericDeltaPayload
impl Send for GenericDeltaPayload
impl Sync for GenericDeltaPayload
impl Unpin for GenericDeltaPayload
impl UnsafeUnpin for GenericDeltaPayload
impl UnwindSafe for GenericDeltaPayload
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