pub struct Game {
pub start_time: NaiveDateTime,
pub end_time: NaiveDateTime,
pub current_match: Vec<String>,
pub match_type: Modes,
pub map: Maps,
pub winning_team: Factions,
pub players: HashMap<(i64, Factions), Player>,
}
Fields§
§start_time: NaiveDateTime
§end_time: NaiveDateTime
§current_match: Vec<String>
§match_type: Modes
§map: Maps
§winning_team: Factions
§players: HashMap<(i64, Factions), Player>
Implementations§
Source§impl Game
impl Game
pub fn process_player_durations(&mut self)
pub fn get_player_vec(&self) -> Vec<&Player>
pub fn get_match_length(&self) -> i32
pub fn _get_playing_factions(&self) -> Vec<Factions>
pub fn get_factions(faction_name: &str) -> Factions
pub fn get_commanders(&mut self)
pub fn process_all_players(&mut self)
pub fn get_current_match(&mut self, all_lines: &[PathBuf])
pub fn get_match_type(&mut self)
pub fn process_kills(&mut self)
pub fn process_structure_kills(&mut self)
pub fn get_current_map(&mut self, all_lines: &[PathBuf])
pub fn get_winning_team(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Game
impl RefUnwindSafe for Game
impl Send for Game
impl Sync for Game
impl Unpin for Game
impl UnwindSafe for Game
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