pub struct ProjectAnalysis {
pub root: String,
pub primary_language: SourceLanguage,
pub language_mix: IndexMap<String, f64>,
pub graph: ProjectGraph,
pub puir: PuirProgram,
pub types: TypeInferenceBundle,
pub framework: Option<String>,
pub database: Option<String>,
pub analyzed_at: DateTime<Utc>,
}Expand description
Analysis snapshot used before migration planning.
Fields§
§root: StringRoot path (absolute).
primary_language: SourceLanguageDetected primary source language.
language_mix: IndexMap<String, f64>Language mix percentages (0–100), measured from file counts.
graph: ProjectGraphSemantic graph.
puir: PuirProgramLowered PUIR program.
types: TypeInferenceBundleType inference bundle.
framework: Option<String>Detected framework if any (express, fastapi, …).
database: Option<String>Detected database layer if any.
analyzed_at: DateTime<Utc>When analysis ran.
Implementations§
Source§impl ProjectAnalysis
impl ProjectAnalysis
Sourcepub fn validate(&self) -> Result<(), ParallaxError>
pub fn validate(&self) -> Result<(), ParallaxError>
Validate embedded IR versions.
Trait Implementations§
Source§impl Clone for ProjectAnalysis
impl Clone for ProjectAnalysis
Source§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 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