pub struct GameData {
pub game_mode: String,
pub game_time: f64,
pub map_name: String,
pub map_number: i64,
pub map_terrain: String,
}
Fields§
§game_mode: String
§game_time: f64
§map_name: String
§map_number: i64
§map_terrain: String
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GameData
impl<'de> Deserialize<'de> for GameData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for GameData
Auto Trait Implementations§
impl Freeze for GameData
impl RefUnwindSafe for GameData
impl Send for GameData
impl Sync for GameData
impl Unpin for GameData
impl UnwindSafe for GameData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more