pub struct Game {
pub id: i64,
pub short_name: String,
pub title: String,
pub text: FormattedText,
pub description: String,
pub photo: Photo,
pub animation: Option<Animation>,
}
Expand description
Describes a game. Use getInternalLink with internalLinkTypeGame to share the game
Fields§
§id: i64
Unique game identifier
short_name: String
Game short name
title: String
Game title
text: FormattedText
Game text, usually containing scoreboards for a game
description: String
Game description
photo: Photo
Game photo
animation: Option<Animation>
Game animation; may be null
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Game
impl<'de> Deserialize<'de> for Game
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
impl StructuralPartialEq for Game
Auto Trait Implementations§
impl Freeze for Game
impl RefUnwindSafe for Game
impl Send for Game
impl Sync for Game
impl Unpin for Game
impl UnwindSafe for Game
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