pub struct Player {Show 14 fields
pub player_id: i64,
pub player_name: String,
pub faction_type: Factions,
pub is_commander: bool,
pub unit_kill: [i32; 3],
pub total_unit_kills: i32,
pub structure_kill: [i32; 3],
pub total_structure_kills: i32,
pub death: i32,
pub points: i32,
pub winner: bool,
pub last_entered_time: NaiveDateTime,
pub last_left_time: NaiveDateTime,
pub duration_played: TimeDelta,
/* private fields */
}
Fields§
§player_id: i64
§player_name: String
§faction_type: Factions
§is_commander: bool
§unit_kill: [i32; 3]
§total_unit_kills: i32
§structure_kill: [i32; 3]
§total_structure_kills: i32
§death: i32
§points: i32
§winner: bool
§last_entered_time: NaiveDateTime
§last_left_time: NaiveDateTime
§duration_played: TimeDelta
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Player
impl RefUnwindSafe for Player
impl Send for Player
impl Sync for Player
impl Unpin for Player
impl UnwindSafe for Player
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