pub struct ScanReport {
pub roots: Vec<PathBuf>,
pub candidates: Vec<Candidate>,
pub warnings: Vec<String>,
pub total_bytes: u64,
pub protect_git_tracked: bool,
}Expand description
Result of scanning one or more roots.
Fields§
§roots: Vec<PathBuf>Roots traversed by the scanner.
candidates: Vec<Candidate>Rebuildable directories found.
warnings: Vec<String>Non-fatal traversal or metadata errors.
total_bytes: u64Total estimated allocated bytes for all candidates.
protect_git_tracked: boolWhether cleanup must repeat the Git tracked-file guard.
Trait Implementations§
Source§impl Clone for ScanReport
impl Clone for ScanReport
Source§fn clone(&self) -> ScanReport
fn clone(&self) -> ScanReport
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 ScanReport
impl Debug for ScanReport
Source§impl<'de> Deserialize<'de> for ScanReport
impl<'de> Deserialize<'de> for ScanReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ScanReport
impl RefUnwindSafe for ScanReport
impl Send for ScanReport
impl Sync for ScanReport
impl Unpin for ScanReport
impl UnsafeUnpin for ScanReport
impl UnwindSafe for ScanReport
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