summaryrefslogtreecommitdiff
path: root/src/session.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.rs')
-rw-r--r--src/session.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/session.rs b/src/session.rs
index 11dd5b8..c105af3 100644
--- a/src/session.rs
+++ b/src/session.rs
@@ -7,12 +7,18 @@ pub struct Session {
pub hands: HashMap<String, Vec<HandObject>>,
}
+// TODO: The values on these variants will be used in the future and there will be more variants.
+// Once this happens, the dead_code lint should no longer be suppressed.
#[derive(Deserialize)]
+#[allow(dead_code)]
pub enum HandObject {
CustomDeck(CustomDeck),
}
+// TODO: These fields will be used in the future. When they are, the dead_code lint should no longer
+// be suppressed.
#[derive(Deserialize)]
+#[allow(dead_code)]
pub struct CustomDeck {
/// The path/URL of the face cardsheet.
face: String,