pub enum MapPhase {
Warmup,
Live,
Intermission,
Gameover,
Unknown,
}Expand description
Phase of the current map.
Variants§
Warmup
Pre-match warmup.
Live
Live round play.
Intermission
Mid-match intermission (between halves).
Gameover
Match has ended.
Unknown
Unrecognized / not-yet-mapped phase.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MapPhase
impl<'de> Deserialize<'de> for MapPhase
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 Copy for MapPhase
impl Eq for MapPhase
impl StructuralPartialEq for MapPhase
Auto Trait Implementations§
impl Freeze for MapPhase
impl RefUnwindSafe for MapPhase
impl Send for MapPhase
impl Sync for MapPhase
impl Unpin for MapPhase
impl UnsafeUnpin for MapPhase
impl UnwindSafe for MapPhase
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