pub struct CombatSimulationRequestSchema {
    pub characters: Vec<FakeCharacterSchema>,
    pub monster: String,
    pub iterations: u32,
}Fields§
§characters: Vec<FakeCharacterSchema>List of fake characters (1-3).
monster: StringMonster code to fight against.
iterations: u32Number of combat iterations to simulate.
Implementations§
Source§impl CombatSimulationRequestSchema
 
impl CombatSimulationRequestSchema
pub fn new( characters: Vec<FakeCharacterSchema>, monster: String, iterations: u32, ) -> CombatSimulationRequestSchema
Trait Implementations§
Source§impl Clone for CombatSimulationRequestSchema
 
impl Clone for CombatSimulationRequestSchema
Source§fn clone(&self) -> CombatSimulationRequestSchema
 
fn clone(&self) -> CombatSimulationRequestSchema
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 Default for CombatSimulationRequestSchema
 
impl Default for CombatSimulationRequestSchema
Source§fn default() -> CombatSimulationRequestSchema
 
fn default() -> CombatSimulationRequestSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CombatSimulationRequestSchema
 
impl<'de> Deserialize<'de> for CombatSimulationRequestSchema
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
Source§impl PartialEq for CombatSimulationRequestSchema
 
impl PartialEq for CombatSimulationRequestSchema
Source§fn eq(&self, other: &CombatSimulationRequestSchema) -> bool
 
fn eq(&self, other: &CombatSimulationRequestSchema) -> bool
Tests for 
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CombatSimulationRequestSchema
Auto Trait Implementations§
impl Freeze for CombatSimulationRequestSchema
impl RefUnwindSafe for CombatSimulationRequestSchema
impl Send for CombatSimulationRequestSchema
impl Sync for CombatSimulationRequestSchema
impl Unpin for CombatSimulationRequestSchema
impl UnwindSafe for CombatSimulationRequestSchema
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