pub struct DiffResult {
pub a_entry_count: usize,
pub b_entry_count: usize,
pub a_epochs: Vec<u64>,
pub b_epochs: Vec<u64>,
pub added: Vec<EntryRef>,
pub removed: Vec<EntryRef>,
pub changed: Vec<EntryRef>,
pub unchanged: usize,
}Expand description
Structural difference between two bundles (A → B), computed over
(entry_key, discriminator) pairs. “Changed” means the key exists in both
but the response bytes differ.
Fields§
§a_entry_count: usize§b_entry_count: usize§a_epochs: Vec<u64>§b_epochs: Vec<u64>§added: Vec<EntryRef>§removed: Vec<EntryRef>§changed: Vec<EntryRef>§unchanged: usizeTrait Implementations§
Source§impl Clone for DiffResult
impl Clone for DiffResult
Source§fn clone(&self) -> DiffResult
fn clone(&self) -> DiffResult
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 moreAuto Trait Implementations§
impl Freeze for DiffResult
impl RefUnwindSafe for DiffResult
impl Send for DiffResult
impl Sync for DiffResult
impl Unpin for DiffResult
impl UnsafeUnpin for DiffResult
impl UnwindSafe for DiffResult
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