pub struct DashboardResult {
pub scan_result: ScanResult,
pub found_files: Vec<FoundFile>,
pub dupe_result: Option<DupeResult>,
pub disk_total: u64,
pub disk_used: u64,
pub disk_free: u64,
}Expand description
Unified result from the smart scan.
Fields§
§scan_result: ScanResult§found_files: Vec<FoundFile>§dupe_result: Option<DupeResult>§disk_total: u64§disk_used: u64§disk_free: u64Implementations§
Source§impl DashboardResult
impl DashboardResult
Sourcepub fn total_reclaimable(&self) -> u64
pub fn total_reclaimable(&self) -> u64
Total reclaimable bytes across all scan types.
Sourcepub fn category_breakdown(&self) -> Vec<CategoryBreakdown>
pub fn category_breakdown(&self) -> Vec<CategoryBreakdown>
Break down results by dashboard category.
Auto Trait Implementations§
impl Freeze for DashboardResult
impl RefUnwindSafe for DashboardResult
impl Send for DashboardResult
impl Sync for DashboardResult
impl Unpin for DashboardResult
impl UnsafeUnpin for DashboardResult
impl UnwindSafe for DashboardResult
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