summaryrefslogtreecommitdiff
path: root/src/data/modification.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/modification.rs')
-rw-r--r--src/data/modification.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/data/modification.rs b/src/data/modification.rs
new file mode 100644
index 0000000..84047ff
--- /dev/null
+++ b/src/data/modification.rs
@@ -0,0 +1,11 @@
1#[derive(Debug)]
2pub struct AddMod {
3 pub id: IDSelector,
4 pub set_version: bool,
5}
6
7#[derive(Debug, PartialEq, Eq)]
8pub enum IDSelector {
9 ModificationID(String),
10 VersionID(String),
11}