pub struct ProjectAnalysis {
pub root: PathBuf,
pub name: String,
pub project_type: ProjectType,
pub primary_language: String,
pub languages: Vec<String>,
pub total_files: usize,
pub total_lines: usize,
pub files: Vec<FileAnalysis>,
pub entrypoints: Vec<PathBuf>,
pub modules: Vec<ModuleInfo>,
pub shared_utilities: Vec<PathBuf>,
pub compositions: Vec<CompositionSuggestion>,
}Expand description
Result of project analysis
Fields§
§root: PathBufRoot path of project
name: StringProject name
project_type: ProjectTypeDetected project type
primary_language: StringPrimary language
languages: Vec<String>All languages found
total_files: usizeTotal files analyzed
total_lines: usizeTotal lines of code
files: Vec<FileAnalysis>File analyses
entrypoints: Vec<PathBuf>Detected entry points
modules: Vec<ModuleInfo>Detected modules/packages
Shared utilities (files imported by many)
compositions: Vec<CompositionSuggestion>Suggested compositions
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProjectAnalysis
impl Debug for ProjectAnalysis
Source§impl<'de> Deserialize<'de> for ProjectAnalysis
impl<'de> Deserialize<'de> for ProjectAnalysis
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProjectAnalysis
impl RefUnwindSafe for ProjectAnalysis
impl Send for ProjectAnalysis
impl Sync for ProjectAnalysis
impl Unpin 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