pub struct StatsResponse {
pub timestamp: Option<String>,
pub total_games: Option<i64>,
pub one_month_games: Option<i64>,
pub one_week_games: Option<i64>,
pub one_day_games: Option<i64>,
pub one_hour_games: Option<i64>,
pub total_players: Option<i64>,
pub one_month_players: Option<i64>,
pub one_week_players: Option<i64>,
pub one_day_players: Option<i64>,
pub one_hour_players: Option<i64>,
}Fields§
§timestamp: Option<String>Timestamp of the last update
total_games: Option<i64>Total number of games played
one_month_games: Option<i64>Number of games played in the last month
one_week_games: Option<i64>Number of games played in the last week
one_day_games: Option<i64>Number of games played in the last day
one_hour_games: Option<i64>Number of games played in the last hour
total_players: Option<i64>Total number of players
one_month_players: Option<i64>Number of players in the last month
one_week_players: Option<i64>Number of players in the last week
one_day_players: Option<i64>Number of players in the last day
one_hour_players: Option<i64>Number of players in the last hour
Implementations§
Source§impl StatsResponse
impl StatsResponse
pub fn new() -> StatsResponse
Trait Implementations§
Source§impl Clone for StatsResponse
impl Clone for StatsResponse
Source§fn clone(&self) -> StatsResponse
fn clone(&self) -> StatsResponse
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 StatsResponse
impl Debug for StatsResponse
Source§impl Default for StatsResponse
impl Default for StatsResponse
Source§fn default() -> StatsResponse
fn default() -> StatsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StatsResponse
impl<'de> Deserialize<'de> for StatsResponse
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 StatsResponse
impl PartialEq for StatsResponse
Source§impl Serialize for StatsResponse
impl Serialize for StatsResponse
impl StructuralPartialEq for StatsResponse
Auto Trait Implementations§
impl Freeze for StatsResponse
impl RefUnwindSafe for StatsResponse
impl Send for StatsResponse
impl Sync for StatsResponse
impl Unpin for StatsResponse
impl UnsafeUnpin for StatsResponse
impl UnwindSafe for StatsResponse
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