pub struct CreateMatch {
pub match_id: String,
pub actors: Vec<String>,
pub board_height: u32,
pub board_width: u32,
pub max_turns: u32,
pub aps_per_turn: u32,
}Expand description
Signals the desire to create a new match
Fields§
§match_id: String§actors: Vec<String>§board_height: u32§board_width: u32§max_turns: u32§aps_per_turn: u32Trait Implementations§
Source§impl Clone for CreateMatch
impl Clone for CreateMatch
Source§fn clone(&self) -> CreateMatch
fn clone(&self) -> CreateMatch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateMatch
impl Debug for CreateMatch
Source§impl<'de> Deserialize<'de> for CreateMatch
impl<'de> Deserialize<'de> for CreateMatch
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 CreateMatch
impl RefUnwindSafe for CreateMatch
impl Send for CreateMatch
impl Sync for CreateMatch
impl Unpin for CreateMatch
impl UnwindSafe for CreateMatch
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