pub enum Bomb {
Carried {
position: Coordinates,
player: String,
},
Dropped {
position: Coordinates,
},
Planting {
position: Coordinates,
player: String,
countdown: f64,
},
Planted {
position: Coordinates,
countdown: f64,
},
Defusing {
position: Coordinates,
player: String,
countdown: f64,
},
Defused {
position: Coordinates,
},
Exploded {
position: Coordinates,
},
}
Variants§
Carried
Fields
§
position: Coordinates
Position of the player carrying the bomb.
Dropped
Fields
§
position: Coordinates
Position of the dropped bomb.
Planting
Fields
§
position: Coordinates
Position of the player currently planting the bomb.
Planted
Fields
§
position: Coordinates
Position of the planted bomb.
Defusing
Fields
§
position: Coordinates
Position of the player defusing the bomb.
Defused
Fields
§
position: Coordinates
Position of the defused bomb.
Exploded
Fields
§
position: Coordinates
Position of the exploded bomb.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bomb
impl<'de> Deserialize<'de> for Bomb
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 Bomb
impl RefUnwindSafe for Bomb
impl Send for Bomb
impl Sync for Bomb
impl Unpin for Bomb
impl UnwindSafe for Bomb
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