[][src]Struct wasmdome_domain::MatchParameters

pub struct MatchParameters {
    pub match_id: String,
    pub width: u32,
    pub height: u32,
    pub actors: Vec<String>,
    pub max_turns: u32,
    pub aps_per_turn: u32,
}

The set of initial parameters for a match

Fields

match_id: Stringwidth: u32height: u32actors: Vec<String>max_turns: u32aps_per_turn: u32

Implementations

impl MatchParameters[src]

pub fn new(
    match_id: String,
    width: u32,
    height: u32,
    max_turns: u32,
    aps_per_turn: u32,
    actors: Vec<String>
) -> Self
[src]

Trait Implementations

impl Clone for MatchParameters[src]

impl Debug for MatchParameters[src]

impl Default for MatchParameters[src]

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

impl Serialize for MatchParameters[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.