From a2e55df0eeea9709175dd0a26c1e09bdaa60841a Mon Sep 17 00:00:00 2001 From: Jomar Milan Date: Sun, 31 May 2026 12:22:41 -0700 Subject: Add websocket route --- src/session.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/session.rs') 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>, } +// 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, -- cgit v1.2.3