[][src]Struct wasmdome_domain::state::MatchState

pub struct MatchState {
    pub parameters: MatchParameters,
    pub mechs: HashMap<String, MechState>,
    pub generation: u64,
    pub game_board: GameBoard,
    pub turn_status: TurnStatus,
    pub completed: Option<EndCause>,
    pub radar_pings: HashMap<String, Vec<RadarPing>>,
}

Fields

parameters: MatchParametersmechs: HashMap<String, MechState>generation: u64game_board: GameBoardturn_status: TurnStatuscompleted: Option<EndCause>radar_pings: HashMap<String, Vec<RadarPing>>

Implementations

impl MatchState[src]

Trait Implementations

impl AggregateState for MatchState[src]

impl Clone for MatchState[src]

impl Debug for MatchState[src]

impl Default for MatchState[src]

impl<'de> Deserialize<'de> for MatchState[src]

impl Serialize for MatchState[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.