From 11e64fc7560de3cd0def718edf68c31e3dc8be72 Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Wed, 4 Sep 2024 15:08:55 +0200 Subject: move stuff around, remove lib.rs for overview --- src/data/modification.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/data/modification.rs (limited to 'src/data/modification.rs') 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 @@ +#[derive(Debug)] +pub struct AddMod { + pub id: IDSelector, + pub set_version: bool, +} + +#[derive(Debug, PartialEq, Eq)] +pub enum IDSelector { + ModificationID(String), + VersionID(String), +} -- cgit v1.2.3