os_monitor/
blocking.rs

1#[derive(Clone, Debug)]
2pub struct BlockableItem {
3    pub app_external_id: String,
4    pub is_browser: bool,
5}
6
7impl BlockableItem {
8    pub fn new(app_external_id: String, is_browser: bool) -> Self {
9        Self {
10            app_external_id,
11            is_browser,
12        }
13    }
14}