pub struct BotSpec {
pub difficulty: BotDifficulty,
}Expand description
One bot seat requested for a custom game.
Fields§
§difficulty: BotDifficultyTrait Implementations§
Source§impl<'de> Deserialize<'de> for BotSpec
impl<'de> Deserialize<'de> for BotSpec
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
impl Eq for BotSpec
impl StructuralPartialEq for BotSpec
Auto Trait Implementations§
impl Freeze for BotSpec
impl RefUnwindSafe for BotSpec
impl Send for BotSpec
impl Sync for BotSpec
impl Unpin for BotSpec
impl UnsafeUnpin for BotSpec
impl UnwindSafe for BotSpec
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