summaryrefslogtreecommitdiff
path: root/src/session.rs
blob: cac100eb53e63f3c231e2291a0368ec125dc9351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use std::collections::HashMap;

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()
        }
    }
}