GetRoomResponse

Type Alias GetRoomResponse 

Source
pub type GetRoomResponse = Room;
Expand description

GET /api/room/{room_id}

Aliased Type§

pub struct GetRoomResponse {
    pub id: Uuid,
    pub state: RoomState,
    pub host: Option<Player>,
    pub players: HashMap<Uuid, Player>,
}

Fields§

§id: Uuid§state: RoomState§host: Option<Player>§players: HashMap<Uuid, Player>