Skip to main content

PlayerLegend

Struct PlayerLegend 

Source
pub struct PlayerLegend {
Show 26 fields pub legend_id: u64, pub legend_name_key: String, pub damagedealt: String, pub damagetaken: String, pub kos: u32, pub falls: u32, pub suicides: u32, pub teamkos: u32, pub matchtime: u64, pub games: u32, pub wins: u32, pub damageunarmed: String, pub damagethrownitem: String, pub damageweaponone: String, pub damageweapontwo: String, pub damagegadgets: String, pub kounarmed: u32, pub kothrownitem: u32, pub koweaponone: u32, pub koweapontwo: u32, pub kogadgets: u32, pub timeheldweaponone: u64, pub timeheldweapontwo: u64, pub xp: u64, pub level: u8, pub xp_percentage: f64,
}

Fields§

§legend_id: u64§legend_name_key: String§damagedealt: String§damagetaken: String§kos: u32§falls: u32§suicides: u32§teamkos: u32§matchtime: u64§games: u32§wins: u32§damageunarmed: String§damagethrownitem: String§damageweaponone: String§damageweapontwo: String§damagegadgets: String§kounarmed: u32§kothrownitem: u32§koweaponone: u32§koweapontwo: u32§kogadgets: u32§timeheldweaponone: u64§timeheldweapontwo: u64§xp: u64§level: u8§xp_percentage: f64

Implementations§

Source§

impl PlayerLegend

Source

pub fn legend_id(&self) -> u64

Source

pub fn legend_name_key(&self) -> &String

Source

pub fn damagedealt(&self) -> &String

Source

pub fn damagetaken(&self) -> &String

Source

pub fn kos(&self) -> u32

Source

pub fn falls(&self) -> u32

Source

pub fn suicides(&self) -> u32

Source

pub fn teamkos(&self) -> u32

Source

pub fn matchtime(&self) -> u64

Source

pub fn games(&self) -> u32

Source

pub fn wins(&self) -> u32

Source

pub fn damageunarmed(&self) -> &String

Source

pub fn damagethrownitem(&self) -> &String

Source

pub fn damageweaponone(&self) -> &String

Source

pub fn damageweapontwo(&self) -> &String

Source

pub fn damagegadgets(&self) -> &String

Source

pub fn kounarmed(&self) -> u32

Source

pub fn kothrownitem(&self) -> u32

Source

pub fn koweaponone(&self) -> u32

Source

pub fn koweapontwo(&self) -> u32

Source

pub fn kogadgets(&self) -> u32

Source

pub fn timeheldweaponone(&self) -> u64

Source

pub fn timeheldweapontwo(&self) -> u64

Source

pub fn xp(&self) -> u64

Source

pub fn level(&self) -> u8

Source

pub fn xp_percentage(&self) -> f64

Trait Implementations§

Source§

impl Debug for PlayerLegend

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for PlayerLegend

Source§

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§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,