pub struct OptimizedPlan {
pub included_procedures: Vec<String>,
pub excluded_procedures: Vec<String>,
pub total_hours: f64,
pub total_cost: f64,
pub risk_coverage: f64,
pub standards_coverage: f64,
pub critical_path_hours: f64,
pub role_hours: HashMap<String, f64>,
}Expand description
An optimized audit plan produced by optimize_plan.
Fields§
§included_procedures: Vec<String>Procedure ids included in the plan.
excluded_procedures: Vec<String>Procedure ids excluded from the plan.
total_hours: f64Total effective hours of included procedures.
total_cost: f64Total monetary cost of included procedures.
risk_coverage: f64Fraction of distinct discriminator values covered (0.0 to 1.0).
standards_coverage: f64Fraction of distinct standards covered (0.0 to 1.0).
critical_path_hours: f64Hours along the longest precondition chain.
role_hours: HashMap<String, f64>Hours per primary role across included procedures.
Trait Implementations§
Source§impl Clone for OptimizedPlan
impl Clone for OptimizedPlan
Source§fn clone(&self) -> OptimizedPlan
fn clone(&self) -> OptimizedPlan
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 OptimizedPlan
impl Debug for OptimizedPlan
Auto Trait Implementations§
impl Freeze for OptimizedPlan
impl RefUnwindSafe for OptimizedPlan
impl Send for OptimizedPlan
impl Sync for OptimizedPlan
impl Unpin for OptimizedPlan
impl UnsafeUnpin for OptimizedPlan
impl UnwindSafe for OptimizedPlan
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