pub struct InlineQueryResultGame {
pub id: String,
pub game_short_name: String,
pub reply_markup: Option<InlineKeyboardMarkup>,
}
Expand description
Represents a Game.
Fields§
§id: String
Unique identifier for this result, 1-64 bytes
game_short_name: String
Short name of the game
reply_markup: Option<InlineKeyboardMarkup>
Optional. Inline keyboard attached to the message
Implementations§
Trait Implementations§
Source§impl Clone for InlineQueryResultGame
impl Clone for InlineQueryResultGame
Source§fn clone(&self) -> InlineQueryResultGame
fn clone(&self) -> InlineQueryResultGame
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 InlineQueryResultGame
impl Debug for InlineQueryResultGame
Source§impl<'de> Deserialize<'de> for InlineQueryResultGame
impl<'de> Deserialize<'de> for InlineQueryResultGame
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 InlineQueryResultGame
impl RefUnwindSafe for InlineQueryResultGame
impl Send for InlineQueryResultGame
impl Sync for InlineQueryResultGame
impl Unpin for InlineQueryResultGame
impl UnwindSafe for InlineQueryResultGame
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