pub fn task_ids_in_group_with_stati(
        &mut self,
        group: &Option<String>,
        stati: Vec<TaskStatus>,
    ) -> Vec<usize> {
        self.tasks
            .iter()
            .filter(|(_, task)| stati.contains(&task.status))
            .filter(|(_, task)| group == &task.group)
            .map(|(id, _)| *id)
            .collect()
    }
/// Get all task ids of a specific group
Get all task ids of a specific group
Get all task ids of a specific group
pub fn task_ids_in_group_with_stati(
        &mut self,
        group: &Option<String>,
        stati: Vec<TaskStatus>,
    ) -> Vec<usize> {
        self.tasks
            .iter()
            .filter(|(_, task)| stati.contains(&task.status))
            .filter(|(_, task)| group == &task.group)
            .map(|(id, _)| *id)
            .collect()
    }
pub fn task_ids_in_group_with_stati ( & mut self , group : & Option < String > , stati : Vec < TaskStatus > , ) -> Vec < usize > { self . tasks . iter ( ) . filter ( | ( _ , task ) | stati . contains ( & task . status ) ) . filter ( | ( _ , task ) | group == & task . group ) . map ( | ( id , _ ) | * id ) . collect ( ) }
Get all task ids of a specific group
Get all task ids of a specific group
&mut self
group
&Option<String>
stati
Vec<TaskStatus>