pub struct ProjectAnalysis {
pub project: Project,
pub artifact_size: u64,
pub last_modified: Option<SystemTime>,
}Expand description
A project plus the results of analyzing it, produced by analyze.
Fields§
§project: ProjectThe discovered project.
artifact_size: u64Total bytes across the project’s artifact directories — what
Project::clean would reclaim.
last_modified: Option<SystemTime>Most recent modification time across the project tree, if obtainable.
Trait Implementations§
Source§impl Clone for ProjectAnalysis
impl Clone for ProjectAnalysis
Source§fn clone(&self) -> ProjectAnalysis
fn clone(&self) -> ProjectAnalysis
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 moreAuto Trait Implementations§
impl Freeze for ProjectAnalysis
impl RefUnwindSafe for ProjectAnalysis
impl Send for ProjectAnalysis
impl Sync for ProjectAnalysis
impl Unpin for ProjectAnalysis
impl UnsafeUnpin for ProjectAnalysis
impl UnwindSafe for ProjectAnalysis
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