armorlib/
scan_result.rs

1//! This is a module that defines the `ScanResult`, the "final product" when ArmorLib processes a
2//! `BinaryObject`. It is a collection (`Vec`) of `ScanReport`s, each of which was created by a
3//! `ScanModule`. `ScanResult` is also available under the default namespace as
4//! `armorlib::ScanResult`.
5
6use scan_report::ScanReport;
7
8/// A struct that represents a scan result. It is a wrapper for `ScanReport`s created by
9/// `ScanModule`s.
10#[derive(Debug)]
11pub struct ScanResult {
12    pub reports: Vec<ScanReport>,
13}