//! Waiver application types.

use crate::types::report::{Finding, WaivedFinding};

/// The result of applying waivers to a set of findings.
#[derive(Debug)]
pub(crate) struct Applied {
    /// Findings no waiver matched, plus unused-waiver warnings.
    pub(crate) kept: Vec<Finding>,
    /// Findings a waiver suppressed.
    pub(crate) waived: Vec<WaivedFinding>,
}
