pub struct ParsedPlayer {Show 15 fields
pub steamid: String,
pub name: String,
pub default_name: String,
pub clan: Option<String>,
pub observer_slot: Option<i32>,
pub stats: MatchStats,
pub weapons: Vec<WeaponWithId>,
pub state: PlayerState,
pub position: Vec<f64>,
pub forward: Vec<f64>,
pub team: ParsedTeam,
pub avatar: Option<String>,
pub country: Option<String>,
pub real_name: Option<String>,
pub extra: Value,
}Fields§
§steamid: String§name: String§default_name: String§clan: Option<String>§observer_slot: Option<i32>§stats: MatchStats§weapons: Vec<WeaponWithId>§state: PlayerState§position: Vec<f64>§forward: Vec<f64>§team: ParsedTeam§avatar: Option<String>§country: Option<String>§real_name: Option<String>§extra: ValueTrait Implementations§
Source§impl Clone for ParsedPlayer
impl Clone for ParsedPlayer
Source§fn clone(&self) -> ParsedPlayer
fn clone(&self) -> ParsedPlayer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsedPlayer
impl Debug for ParsedPlayer
Source§impl<'de> Deserialize<'de> for ParsedPlayer
impl<'de> Deserialize<'de> for ParsedPlayer
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 ParsedPlayer
impl RefUnwindSafe for ParsedPlayer
impl Send for ParsedPlayer
impl Sync for ParsedPlayer
impl Unpin for ParsedPlayer
impl UnwindSafe for ParsedPlayer
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