summaryrefslogtreecommitdiff
path: root/src/options.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.rs')
-rw-r--r--src/options.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/options.rs b/src/options.rs
index 59f1c43..c3aeff3 100644
--- a/src/options.rs
+++ b/src/options.rs
@@ -14,7 +14,7 @@ pub struct YearInfo {
pub wnomask: Option<Vec<usize>>,
}
-#[derive(Debug, PartialEq, PartialOrd)]
+#[derive(Debug, PartialEq, PartialOrd, Clone)]
pub enum Frequenzy {
YEARLY = 0,
MONTHLY = 1,
@@ -25,7 +25,7 @@ pub enum Frequenzy {
SECONDLY = 6,
}
-#[derive(Debug)]
+#[derive(Debug, Clone)]
pub struct ParsedOptions {
pub freq: Frequenzy,
pub interval: usize,