Skip to content

Commit

Permalink
Add Clone, Debug for RoomStatusResult
Browse files Browse the repository at this point in the history
  • Loading branch information
shanemadden committed Nov 28, 2023
1 parent adf885a commit a726f9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ extern "C" {
pub fn timestamp(this: &JsRoomStatusResult) -> Option<f64>;
}

#[derive(Clone, Debug)]
pub struct RoomStatusResult {
status: RoomStatus,
timestamp: Option<f64>,
Expand Down

0 comments on commit a726f9b

Please sign in to comment.