pub enum BombRoundState {
Planted,
Defused,
Exploded,
None,
}Expand description
Bomb state as reported via the round.bomb field. The richer per-bomb
position info is in crate::model::bomb::Bomb under the root bomb.
Variants§
Planted
Bomb is being planted — defuse cycle has not yet started.
Defused
Bomb was defused successfully.
Exploded
Bomb exploded.
None
No bomb event in the current round.
Trait Implementations§
Source§impl Clone for BombRoundState
impl Clone for BombRoundState
Source§fn clone(&self) -> BombRoundState
fn clone(&self) -> BombRoundState
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 BombRoundState
impl Debug for BombRoundState
Source§impl Default for BombRoundState
impl Default for BombRoundState
Source§fn default() -> BombRoundState
fn default() -> BombRoundState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BombRoundState
impl<'de> Deserialize<'de> for BombRoundState
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 Hash for BombRoundState
impl Hash for BombRoundState
Source§impl PartialEq for BombRoundState
impl PartialEq for BombRoundState
Source§impl Serialize for BombRoundState
impl Serialize for BombRoundState
impl Copy for BombRoundState
impl Eq for BombRoundState
impl StructuralPartialEq for BombRoundState
Auto Trait Implementations§
impl Freeze for BombRoundState
impl RefUnwindSafe for BombRoundState
impl Send for BombRoundState
impl Sync for BombRoundState
impl Unpin for BombRoundState
impl UnsafeUnpin for BombRoundState
impl UnwindSafe for BombRoundState
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