pub struct ActivePlayer { /* private fields */ }
Implementations§
Source§impl ActivePlayer
impl ActivePlayer
pub fn abilities(&self) -> &Abilities
pub fn champion_stats(&self) -> &ChampionStats
pub fn current_gold(&self) -> f64
pub fn full_runes(&self) -> &FullRunes
pub fn level(&self) -> i64
pub fn summoner_name(&self) -> &str
Trait Implementations§
Source§impl Clone for ActivePlayer
impl Clone for ActivePlayer
Source§fn clone(&self) -> ActivePlayer
fn clone(&self) -> ActivePlayer
Returns a copy 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 ActivePlayer
impl Debug for ActivePlayer
Source§impl Default for ActivePlayer
impl Default for ActivePlayer
Source§fn default() -> ActivePlayer
fn default() -> ActivePlayer
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActivePlayer
impl<'de> Deserialize<'de> for ActivePlayer
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
Source§impl PartialEq for ActivePlayer
impl PartialEq for ActivePlayer
Source§impl Serialize for ActivePlayer
impl Serialize for ActivePlayer
impl StructuralPartialEq for ActivePlayer
Auto Trait Implementations§
impl Freeze for ActivePlayer
impl RefUnwindSafe for ActivePlayer
impl Send for ActivePlayer
impl Sync for ActivePlayer
impl Unpin for ActivePlayer
impl UnwindSafe for ActivePlayer
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