pub struct LoadGame {
pub commander: Option<Commander>,
pub ship: Option<Ship>,
pub horizons: bool,
pub game_mode: Option<GameMode>,
pub credits: u64,
pub loan: u64,
}Fields§
§commander: Option<Commander>§ship: Option<Ship>§horizons: bool§game_mode: Option<GameMode>§credits: u64§loan: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for LoadGame
impl<'de> Deserialize<'de> for LoadGame
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
Auto Trait Implementations§
impl Freeze for LoadGame
impl RefUnwindSafe for LoadGame
impl Send for LoadGame
impl Sync for LoadGame
impl Unpin for LoadGame
impl UnwindSafe for LoadGame
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more