pub struct ReportedOutcome {
pub reported: bool,
pub game_over: bool,
pub winner_slot: Option<String>,
pub conceded_slots: Vec<String>,
pub fatal_message: Option<String>,
pub turns: Option<u32>,
}Fields§
§reported: bool§game_over: bool§winner_slot: Option<String>§conceded_slots: Vec<String>§fatal_message: Option<String>§turns: Option<u32>Trait Implementations§
Source§impl Debug for ReportedOutcome
impl Debug for ReportedOutcome
Source§impl Default for ReportedOutcome
impl Default for ReportedOutcome
Source§fn default() -> ReportedOutcome
fn default() -> ReportedOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReportedOutcome
impl RefUnwindSafe for ReportedOutcome
impl Send for ReportedOutcome
impl Sync for ReportedOutcome
impl Unpin for ReportedOutcome
impl UnsafeUnpin for ReportedOutcome
impl UnwindSafe for ReportedOutcome
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