diff options
author | fxqnlr <[email protected]> | 2024-09-04 15:08:55 +0200 |
---|---|---|
committer | fxqnlr <[email protected]> | 2024-09-04 15:08:55 +0200 |
commit | 11e64fc7560de3cd0def718edf68c31e3dc8be72 (patch) | |
tree | f14ad1eb3d349e1f95e4d69c251e79ac85786a64 /src/data/modification.rs | |
parent | 7a85cf311c85ab45c75098dae58b5ebf5fef60bc (diff) | |
download | modlist-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.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 | } | ||