pub struct RecentGame {
pub date: i64,
pub game_type: Option<String>,
pub mode: Option<String>,
pub map: Option<String>,
pub ended: Option<i64>,
pub extra: JsonObject,
}Expand description
A recently played game, as returned by recentgames.
Fields§
§date: i64§game_type: Option<String>§mode: Option<String>§map: Option<String>§ended: Option<i64>§extra: JsonObjectTrait Implementations§
Source§impl Clone for RecentGame
impl Clone for RecentGame
Source§fn clone(&self) -> RecentGame
fn clone(&self) -> RecentGame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RecentGame
impl Debug for RecentGame
Source§impl<'de> Deserialize<'de> for RecentGame
impl<'de> Deserialize<'de> for RecentGame
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 RecentGame
impl RefUnwindSafe for RecentGame
impl Send for RecentGame
impl Sync for RecentGame
impl Unpin for RecentGame
impl UnsafeUnpin for RecentGame
impl UnwindSafe for RecentGame
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