summaryrefslogtreecommitdiff
path: root/src/data/modification.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2024-09-04 15:08:55 +0200
committerfxqnlr <[email protected]>2024-09-04 15:08:55 +0200
commit11e64fc7560de3cd0def718edf68c31e3dc8be72 (patch)
treef14ad1eb3d349e1f95e4d69c251e79ac85786a64 /src/data/modification.rs
parent7a85cf311c85ab45c75098dae58b5ebf5fef60bc (diff)
downloadmodlist-11e64fc7560de3cd0def718edf68c31e3dc8be72.tar
modlist-11e64fc7560de3cd0def718edf68c31e3dc8be72.tar.gz
modlist-11e64fc7560de3cd0def718edf68c31e3dc8be72.zip
move stuff around, remove lib.rs for overview
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}