pub struct ParsedProject {
pub root_path: String,
pub files: Vec<ParsedFile>,
pub total_files_processed: usize,
pub language_distribution: HashMap<Language, usize>,
pub error_files: Vec<FileError>,
}
Expand description
Represents the results of parsing an entire project or directory
This struct aggregates the results of parsing multiple files, including success metrics, error information, and language distribution.
Fields§
§root_path: String
§files: Vec<ParsedFile>
§total_files_processed: usize
§language_distribution: HashMap<Language, usize>
§error_files: Vec<FileError>
Trait Implementations§
Source§impl Clone for ParsedProject
impl Clone for ParsedProject
Source§fn clone(&self) -> ParsedProject
fn clone(&self) -> ParsedProject
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ParsedProject
impl Debug for ParsedProject
Source§impl<'de> Deserialize<'de> for ParsedProject
impl<'de> Deserialize<'de> for ParsedProject
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 ParsedProject
impl RefUnwindSafe for ParsedProject
impl Send for ParsedProject
impl Sync for ParsedProject
impl Unpin for ParsedProject
impl UnwindSafe for ParsedProject
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