pub struct PersonalStatsHistoricStat {
pub name: String,
pub value: i64,
pub timestamp: i32,
}
Fields§
§name: String
Requested stat name
value: i64
§timestamp: i32
Timestamp when the stat was last updated
Trait Implementations§
Source§impl Clone for PersonalStatsHistoricStat
impl Clone for PersonalStatsHistoricStat
Source§fn clone(&self) -> PersonalStatsHistoricStat
fn clone(&self) -> PersonalStatsHistoricStat
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PersonalStatsHistoricStat
impl Debug for PersonalStatsHistoricStat
Source§impl<'de> Deserialize<'de> for PersonalStatsHistoricStat
impl<'de> Deserialize<'de> for PersonalStatsHistoricStat
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 PersonalStatsHistoricStat
impl PartialEq for PersonalStatsHistoricStat
Source§fn eq(&self, other: &PersonalStatsHistoricStat) -> bool
fn eq(&self, other: &PersonalStatsHistoricStat) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PersonalStatsHistoricStat
Auto Trait Implementations§
impl Freeze for PersonalStatsHistoricStat
impl RefUnwindSafe for PersonalStatsHistoricStat
impl Send for PersonalStatsHistoricStat
impl Sync for PersonalStatsHistoricStat
impl Unpin for PersonalStatsHistoricStat
impl UnwindSafe for PersonalStatsHistoricStat
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