pub struct InputMessageGame {
pub bot_user_id: i64,
pub game_short_name: String,
}
Expand description
A message with a game; not supported for channels or secret chats
Fields§
§bot_user_id: i64
User identifier of the bot that owns the game
game_short_name: String
Short name of the game
Trait Implementations§
Source§impl Clone for InputMessageGame
impl Clone for InputMessageGame
Source§fn clone(&self) -> InputMessageGame
fn clone(&self) -> InputMessageGame
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 InputMessageGame
impl Debug for InputMessageGame
Source§impl Default for InputMessageGame
impl Default for InputMessageGame
Source§fn default() -> InputMessageGame
fn default() -> InputMessageGame
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputMessageGame
impl<'de> Deserialize<'de> for InputMessageGame
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 InputMessageGame
impl PartialEq for InputMessageGame
Source§impl Serialize for InputMessageGame
impl Serialize for InputMessageGame
impl StructuralPartialEq for InputMessageGame
Auto Trait Implementations§
impl Freeze for InputMessageGame
impl RefUnwindSafe for InputMessageGame
impl Send for InputMessageGame
impl Sync for InputMessageGame
impl Unpin for InputMessageGame
impl UnwindSafe for InputMessageGame
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