pub struct FleetReport {
pub repos: Vec<RepoSummary>,
pub control_stats: Vec<ControlFleetStat>,
pub total_pass: usize,
pub total_review: usize,
pub total_fail: usize,
}Expand description
Fleet-level aggregation of verification results across multiple repositories.
Fields§
§repos: Vec<RepoSummary>Per-repo summaries, sorted by fail count descending (worst first).
control_stats: Vec<ControlFleetStat>Control-level statistics across the fleet.
total_pass: usizeFleet-wide totals.
total_review: usize§total_fail: usizeImplementations§
Source§impl FleetReport
impl FleetReport
Sourcepub fn from_assessments(entries: Vec<(String, &AssessmentReport)>) -> Self
pub fn from_assessments(entries: Vec<(String, &AssessmentReport)>) -> Self
Build a fleet report from a set of (repo_id, assessment_report) pairs.
Trait Implementations§
Source§impl Clone for FleetReport
impl Clone for FleetReport
Source§fn clone(&self) -> FleetReport
fn clone(&self) -> FleetReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FleetReport
impl Debug for FleetReport
Source§impl<'de> Deserialize<'de> for FleetReport
impl<'de> Deserialize<'de> for FleetReport
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
Source§impl PartialEq for FleetReport
impl PartialEq for FleetReport
Source§impl Serialize for FleetReport
impl Serialize for FleetReport
impl Eq for FleetReport
impl StructuralPartialEq for FleetReport
Auto Trait Implementations§
impl Freeze for FleetReport
impl RefUnwindSafe for FleetReport
impl Send for FleetReport
impl Sync for FleetReport
impl Unpin for FleetReport
impl UnsafeUnpin for FleetReport
impl UnwindSafe for FleetReport
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