pub struct ScanDelta {
pub from_revision: String,
pub to_revision: String,
pub added: Vec<ScannedFile>,
pub removed: Vec<ScannedFile>,
pub modified: Vec<ModifiedFile>,
pub renamed: Vec<RenamedFile>,
pub unchanged: u64,
pub selection_inputs_changed: bool,
pub scan_state_changed: bool,
pub quality: DeltaQuality,
}Expand description
Deterministic changes between two repository manifests.
Fields§
§from_revision: String§to_revision: String§added: Vec<ScannedFile>§removed: Vec<ScannedFile>§modified: Vec<ModifiedFile>§renamed: Vec<RenamedFile>§unchanged: u64§selection_inputs_changed: bool§scan_state_changed: bool§quality: DeltaQualityImplementations§
Source§impl ScanDelta
impl ScanDelta
pub fn between(previous: &ScanReport, current: &ScanReport) -> Self
pub fn is_empty(&self) -> bool
Trait Implementations§
impl Eq for ScanDelta
impl StructuralPartialEq for ScanDelta
Auto Trait Implementations§
impl Freeze for ScanDelta
impl RefUnwindSafe for ScanDelta
impl Send for ScanDelta
impl Sync for ScanDelta
impl Unpin for ScanDelta
impl UnsafeUnpin for ScanDelta
impl UnwindSafe for ScanDelta
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