pub struct CleanResult {
pub success_count: usize,
pub total_freed: u64,
pub estimated_size: u64,
pub errors: Vec<String>,
}Expand description
Structured result returned after a cleanup operation.
Contains all the data needed to render either human-readable or JSON output.
Fields§
§success_count: usizeNumber of projects successfully cleaned.
total_freed: u64Total bytes actually freed during cleanup.
estimated_size: u64Estimated total size before cleanup (from cached scan data).
errors: Vec<String>Error messages for projects that failed to clean.
Auto Trait Implementations§
impl Freeze for CleanResult
impl RefUnwindSafe for CleanResult
impl Send for CleanResult
impl Sync for CleanResult
impl Unpin for CleanResult
impl UnsafeUnpin for CleanResult
impl UnwindSafe for CleanResult
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