feat: supports cron update profiles

This commit is contained in:
GyDi
2022-04-20 20:37:16 +08:00
committed by GitHub
parent 5f7a1fa5cd
commit 4de944b41e
5 changed files with 190 additions and 49 deletions

View File

@@ -102,17 +102,6 @@ impl PrfOption {
return one;
}
pub fn diff_update_interval(one: Option<&Self>, other: Option<&Self>) -> bool {
if one.is_some() && other.is_some() {
let one = one.unwrap();
let other = other.unwrap();
return one.update_interval == other.update_interval;
}
return false;
}
}
impl Default for PrfItem {