pub struct RunOutcome {
pub findings: Vec<Finding>,
pub exit_code: i32,
pub stats: RunStats,
}Expand description
The run outcome: aggregated findings (each already deterministically sorted within its file, stamped with its file path), the exit code, and the run counts.
Fields§
§findings: Vec<Finding>every finding, grouped by file in the order the files were offered
exit_code: i320 = no error-level finding; 1 = at least one
stats: RunStatshow many files were scanned and matched
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunOutcome
impl RefUnwindSafe for RunOutcome
impl Send for RunOutcome
impl Sync for RunOutcome
impl Unpin for RunOutcome
impl UnsafeUnpin for RunOutcome
impl UnwindSafe for RunOutcome
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