pub struct MemberDelta {
pub added: usize,
pub changed: usize,
pub removed: usize,
pub same: usize,
}Expand description
How the artifact’s members differ from the live project’s (K5). The gateway deletes every member an overwrite omits and never says so, so the counts and the removed paths are the only place the removals show.
Fields§
§added: usizeIn the artifact only.
changed: usizeIn both, canonical hashes differ.
removed: usizeIn the live project only (an overwrite would delete them).
same: usizeIn both, canonical hashes equal.
Trait Implementations§
Source§impl Clone for MemberDelta
impl Clone for MemberDelta
impl Copy for MemberDelta
Source§impl Debug for MemberDelta
impl Debug for MemberDelta
Source§impl Default for MemberDelta
impl Default for MemberDelta
impl Eq for MemberDelta
Source§impl PartialEq for MemberDelta
impl PartialEq for MemberDelta
Source§impl Serialize for MemberDelta
impl Serialize for MemberDelta
impl StructuralPartialEq for MemberDelta
Auto Trait Implementations§
impl Freeze for MemberDelta
impl RefUnwindSafe for MemberDelta
impl Send for MemberDelta
impl Sync for MemberDelta
impl Unpin for MemberDelta
impl UnsafeUnpin for MemberDelta
impl UnwindSafe for MemberDelta
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.