pub struct SnapshotDiff {
pub unchanged: Vec<String>,
pub modified: Vec<String>,
pub added: Vec<String>,
pub deleted: Vec<String>,
}Expand description
Differences between a snapshot and current state
Fields§
§unchanged: Vec<String>§modified: Vec<String>§added: Vec<String>§deleted: Vec<String>Implementations§
Source§impl SnapshotDiff
impl SnapshotDiff
pub fn has_changes(&self) -> bool
Trait Implementations§
Source§impl Debug for SnapshotDiff
impl Debug for SnapshotDiff
Source§impl Default for SnapshotDiff
impl Default for SnapshotDiff
Source§fn default() -> SnapshotDiff
fn default() -> SnapshotDiff
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SnapshotDiff
impl RefUnwindSafe for SnapshotDiff
impl Send for SnapshotDiff
impl Sync for SnapshotDiff
impl Unpin for SnapshotDiff
impl UnsafeUnpin for SnapshotDiff
impl UnwindSafe for SnapshotDiff
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