deuces_rs/
model.rs

1#[derive(Debug, PartialEq)]
2pub struct PlayerHand {
3    pub hand: Vec<String>,
4    pub score: Vec<u32>,
5}
6#[derive(Debug, PartialEq)]
7pub struct Hand {
8    pub cards: Vec<String>,
9    pub score: f64,
10    pub description: String,
11}
12#[derive(Debug, PartialEq)]
13pub struct Board {
14    pub flop: Vec<String>,
15    pub turn: String,
16    pub river: String,
17}
18
19#[derive(Debug, PartialEq)]
20pub struct Deal {
21    pub board: Board,
22    pub hands: Vec<Hand>,
23}