pub struct Project {
pub project_type: ProjectType,
pub path: PathBuf,
}
Fields§
§project_type: ProjectType
§path: PathBuf
Implementations§
Source§impl Project
impl Project
pub fn artifact_dirs(&self) -> &[&str]
pub fn name(&self) -> Cow<'_, str>
pub fn size(&self, options: &ScanOptions) -> u64
pub fn last_modified(&self, options: &ScanOptions) -> Result<SystemTime, Error>
pub fn size_dirs(&self, options: &ScanOptions) -> ProjectSize
pub fn type_name(&self) -> &'static str
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Project
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnwindSafe for Project
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