pub struct DashboardOptions {
pub scan_paths: Vec<PathBuf>,
pub scan_min_size: u64,
pub scan_older_than: Option<u64>,
pub find_paths: Vec<PathBuf>,
pub find_min_size: u64,
pub find_top: usize,
pub skip_dupes: bool,
pub dupe_min_size: u64,
}Expand description
Options for the unified smart scan.
Fields§
§scan_paths: Vec<PathBuf>Directories to scan for dev artifacts and system caches.
scan_min_size: u64Minimum size for scan items (bytes).
scan_older_than: Option<u64>Only report scan items older than this many seconds.
find_paths: Vec<PathBuf>Directories to search for large/old files.
find_min_size: u64Minimum file size for the finder (bytes).
find_top: usizeMaximum number of large-file results.
skip_dupes: boolSkip duplicate detection entirely (faster scan).
dupe_min_size: u64Minimum size for duplicate detection (bytes).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DashboardOptions
impl RefUnwindSafe for DashboardOptions
impl Send for DashboardOptions
impl Sync for DashboardOptions
impl Unpin for DashboardOptions
impl UnsafeUnpin for DashboardOptions
impl UnwindSafe for DashboardOptions
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more