pub struct Map {
pub round_wins: HashMap<u8, String>,
pub mode: Mode,
pub name: String,
pub phase: RoundPhase,
pub round: u8,
pub team_ct: TeamInfo,
pub team_t: TeamInfo,
pub num_matches_to_win_series: u8,
}
Fields§
§round_wins: HashMap<u8, String>
Round [number, condition].
mode: Mode
Game Mode. Refer to Mode.
name: String
Map’s title.
phase: RoundPhase
Present stage of the game. Refer to RoundPhase.
round: u8
Current round count.
team_ct: TeamInfo
Details regarding the Counter-Terrorists team. Refer to TeamInfo.
team_t: TeamInfo
Details regarding the Terrorists team. Refer to TeamInfo.
num_matches_to_win_series: u8
Count of victories required to secure the series.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Map
impl<'de> Deserialize<'de> for Map
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 Map
impl RefUnwindSafe for Map
impl Send for Map
impl Sync for Map
impl Unpin for Map
impl UnwindSafe for Map
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