pub struct OverwolfOperator {
pub name: String,
pub img: Url,
pub is_attack: bool,
pub is_top_operator: bool,
pub win_pct: f64,
pub wins: u64,
pub kd: f64,
pub kills: u64,
pub time_played_display: String,
pub time_played: u64,
pub unknown: HashMap<String, Value>,
}Expand description
An Overwolf Operator
Fields§
§name: StringOperator name
img: UrlOperator Image
is_attack: boolWhether this operator is attack
is_top_operator: boolWhether this operator is this user’s top operator
win_pct: f64Win %
wins: u64The total # of wins with this op
kd: f64The K/D with this op
kills: u64The total # of kills with this op
time_played_display: StringThe time played as a user-displayable string
time_played: u64The time played (in seconds?)
unknown: HashMap<String, Value>Unknown keys
Trait Implementations§
Source§impl Debug for OverwolfOperator
impl Debug for OverwolfOperator
Source§impl<'de> Deserialize<'de> for OverwolfOperator
impl<'de> Deserialize<'de> for OverwolfOperator
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 OverwolfOperator
impl RefUnwindSafe for OverwolfOperator
impl Send for OverwolfOperator
impl Sync for OverwolfOperator
impl Unpin for OverwolfOperator
impl UnwindSafe for OverwolfOperator
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