pub struct ProjectTargetAnalysis {
pub id: Uuid,
pub project_path: PathBuf,
pub project_name: Option<String>,
pub size: u64,
pub last_modified: SystemTime,
pub selected_for_cleanup: bool,
}Fields§
§id: Uuid§project_path: PathBufThe path of the project without the target directory suffix
project_name: Option<String>Cargo project name
size: u64The size in bytes that the target directory takes up
last_modified: SystemTimeThe timestamp of the last recently modified file in the target directory
selected_for_cleanup: boolIndicate that this target directory should be cleaned
Implementations§
Trait Implementations§
Source§impl Clone for ProjectTargetAnalysis
impl Clone for ProjectTargetAnalysis
Source§fn clone(&self) -> ProjectTargetAnalysis
fn clone(&self) -> ProjectTargetAnalysis
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProjectTargetAnalysis
impl RefUnwindSafe for ProjectTargetAnalysis
impl Send for ProjectTargetAnalysis
impl Sync for ProjectTargetAnalysis
impl Unpin for ProjectTargetAnalysis
impl UnwindSafe for ProjectTargetAnalysis
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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