summaryrefslogtreecommitdiff
path: root/src/session.rs
diff options
context:
space:
mode:
authorJomar Milan <jomarm@jomarm.com>2026-05-31 12:22:41 -0700
committerJomar Milan <jomarm@jomarm.com>2026-05-31 12:22:41 -0700
commita2e55df0eeea9709175dd0a26c1e09bdaa60841a (patch)
tree584103be1f6b7d615cbc8d4e117e0107732fedda /src/session.rs
parente104c8ed4a41e790dfd03e822a923c4df7b082b3 (diff)
Add websocket route
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,