pub enum BotDifficulty {
Easy,
Medium,
Hard,
}Expand description
Bot difficulty on the wire. Lowercase to match the backend’s
game_players.bot_difficulty CHECK constraint (easy|medium|hard).
Variants§
Trait Implementations§
Source§impl Clone for BotDifficulty
impl Clone for BotDifficulty
Source§fn clone(&self) -> BotDifficulty
fn clone(&self) -> BotDifficulty
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BotDifficulty
Source§impl Debug for BotDifficulty
impl Debug for BotDifficulty
Source§impl<'de> Deserialize<'de> for BotDifficulty
impl<'de> Deserialize<'de> for BotDifficulty
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 BotDifficulty
Source§impl PartialEq for BotDifficulty
impl PartialEq for BotDifficulty
Source§impl Serialize for BotDifficulty
impl Serialize for BotDifficulty
impl StructuralPartialEq for BotDifficulty
Auto Trait Implementations§
impl Freeze for BotDifficulty
impl RefUnwindSafe for BotDifficulty
impl Send for BotDifficulty
impl Sync for BotDifficulty
impl Unpin for BotDifficulty
impl UnsafeUnpin for BotDifficulty
impl UnwindSafe for BotDifficulty
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