pub struct StatsResult {
pub statistics: AdrStatistics,
pub output: String,
pub parse_errors: Vec<(PathBuf, Error)>,
}Expand description
Result of the statistics use case.
Fields§
§statistics: AdrStatisticsComputed statistics.
output: StringFormatted output string.
parse_errors: Vec<(PathBuf, Error)>Files that failed to parse.
Implementations§
Source§impl StatsResult
impl StatsResult
Sourcepub fn has_errors(&self) -> bool
pub fn has_errors(&self) -> bool
Returns true if there were any parse errors.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StatsResult
impl !RefUnwindSafe for StatsResult
impl Send for StatsResult
impl Sync for StatsResult
impl Unpin for StatsResult
impl !UnwindSafe for StatsResult
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