summaryrefslogtreecommitdiff
path: root/src/session.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.rs')
-rw-r--r--src/session.rs15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/session.rs b/src/session.rs
index b07623a..cac100e 100644
--- a/src/session.rs
+++ b/src/session.rs
@@ -1,7 +1,20 @@
use std::collections::HashMap;
-use std::slice::Iter;
pub struct Session {
pub steam_name: String,
pub passcode: String,
+ pub hands: HashMap<String, Hand>
+}
+
+pub struct Hand {
+}
+
+impl Session {
+ pub fn new(steam_name: String, passcode: String) -> Self {
+ Session {
+ steam_name,
+ passcode,
+ hands: HashMap::new()
+ }
+ }
} \ No newline at end of file