pub struct Map {
pub current_spectators: u64,
pub mode: Mode,
pub name: String,
pub num_matches_to_win_series: u64,
pub phase: Phase,
pub round: u64,
pub round_wins: HashMap<u64, RoundWin>,
pub souvenirs_total: u64,
pub team_ct: Team,
pub team_t: Team,
}Expand description
map information
Fields§
§current_spectators: u64current number of spectators
mode: Modegame mode
name: Stringmap name
num_matches_to_win_series: u64number of matches to win series
phase: Phasemap phase
round: u64current round number
round_wins: HashMap<u64, RoundWin>who won which round and how
souvenirs_total: u64number of souvenirs dropped so far this map (presumably)
team_ct: Teamcounter-terrorist team info
team_t: Teamterrorist team info
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