#[derive(Copy, Clone, PartialEq, Debug)] pub enum Status { Safe, Unsafe, Unknown, } #[derive(Clone, Debug)] pub struct Report { levels: Vec, status: Status, } impl Report { pub fn new(lvls: Vec) -> Report { Report { levels: lvls , status: Status::Unknown } } pub fn analyze(self: &mut Report) -> Status { // TODO: Report::analyze() Status::Unknown } }