diff options
Diffstat (limited to 'src/data/modification.rs')
-rw-r--r-- | src/data/modification.rs | 11 |
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)] | ||
2 | pub struct AddMod { | ||
3 | pub id: IDSelector, | ||
4 | pub set_version: bool, | ||
5 | } | ||
6 | |||
7 | #[derive(Debug, PartialEq, Eq)] | ||
8 | pub enum IDSelector { | ||
9 | ModificationID(String), | ||
10 | VersionID(String), | ||
11 | } | ||