pub struct MatchGamePlayer {Show 17 fields
pub nation: String,
pub id: u32,
pub name: String,
pub slug: String,
pub agent: String,
pub rating: Option<f32>,
pub acs: Option<u16>,
pub kills: Option<u16>,
pub deaths: Option<u16>,
pub assists: Option<u16>,
pub kd_diff: Option<i16>,
pub kast: Option<f32>,
pub adr: Option<f32>,
pub hs_pct: Option<f32>,
pub first_kills: Option<u16>,
pub first_deaths: Option<u16>,
pub fk_diff: Option<i16>,
}Expand description
A player’s participation in a single game.
Fields§
§nation: String§id: u32§name: String§slug: String§agent: String§rating: Option<f32>§acs: Option<u16>§kills: Option<u16>§deaths: Option<u16>§assists: Option<u16>§kd_diff: Option<i16>§kast: Option<f32>§adr: Option<f32>§hs_pct: Option<f32>§first_kills: Option<u16>§first_deaths: Option<u16>§fk_diff: Option<i16>Trait Implementations§
Source§impl Clone for MatchGamePlayer
impl Clone for MatchGamePlayer
Source§fn clone(&self) -> MatchGamePlayer
fn clone(&self) -> MatchGamePlayer
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 MatchGamePlayer
impl Debug for MatchGamePlayer
Auto Trait Implementations§
impl Freeze for MatchGamePlayer
impl RefUnwindSafe for MatchGamePlayer
impl Send for MatchGamePlayer
impl Sync for MatchGamePlayer
impl Unpin for MatchGamePlayer
impl UnwindSafe for MatchGamePlayer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more