pub struct Game {
pub id: i64,
pub access_hash: i64,
pub short_name: String,
pub title: String,
pub description: String,
pub photo: Photo,
pub document: Option<Document>,
}Expand description
Generated from:
game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = GameFields§
§id: i64§access_hash: i64§short_name: String§title: String§description: String§photo: Photo§document: Option<Document>Trait Implementations§
Source§impl Deserializable for Game
impl Deserializable for Game
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl Identifiable for Game
impl Identifiable for Game
Source§const CONSTRUCTOR_ID: u32 = 0xbdf9653b
const CONSTRUCTOR_ID: u32 = 0xbdf9653b
The constructor ID as specified in the TL schema.
Source§impl Serializable for Game
impl Serializable for Game
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 UnsafeUnpin 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