pub struct SnapshotDelta {
pub added: Vec<String>,
pub changed: Vec<String>,
pub removed: Vec<String>,
}Expand description
The difference between two workspace snapshots.
Fields§
§added: Vec<String>Paths present in new but not old.
changed: Vec<String>Paths present in both but with a different fingerprint.
removed: Vec<String>Paths present in old but not new.
Trait Implementations§
Source§impl Clone for SnapshotDelta
impl Clone for SnapshotDelta
Source§fn clone(&self) -> SnapshotDelta
fn clone(&self) -> SnapshotDelta
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 SnapshotDelta
impl Debug for SnapshotDelta
Source§impl Default for SnapshotDelta
impl Default for SnapshotDelta
Source§fn default() -> SnapshotDelta
fn default() -> SnapshotDelta
Returns the “default value” for a type. Read more
impl Eq for SnapshotDelta
Source§impl PartialEq for SnapshotDelta
impl PartialEq for SnapshotDelta
impl StructuralPartialEq for SnapshotDelta
Auto Trait Implementations§
impl Freeze for SnapshotDelta
impl RefUnwindSafe for SnapshotDelta
impl Send for SnapshotDelta
impl Sync for SnapshotDelta
impl Unpin for SnapshotDelta
impl UnsafeUnpin for SnapshotDelta
impl UnwindSafe for SnapshotDelta
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.