pub struct InputInlineQueryResultGame {
pub id: String,
pub game_short_name: String,
pub reply_markup: Option<ReplyMarkup>,
}
Expand description
Represents a game
Fields§
§id: String
Unique identifier of the query result
game_short_name: String
Short name of the game
reply_markup: Option<ReplyMarkup>
Message reply markup. Must be of type replyMarkupInlineKeyboard or null
Trait Implementations§
Source§impl Clone for InputInlineQueryResultGame
impl Clone for InputInlineQueryResultGame
Source§fn clone(&self) -> InputInlineQueryResultGame
fn clone(&self) -> InputInlineQueryResultGame
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 InputInlineQueryResultGame
impl Debug for InputInlineQueryResultGame
Source§impl<'de> Deserialize<'de> for InputInlineQueryResultGame
impl<'de> Deserialize<'de> for InputInlineQueryResultGame
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 InputInlineQueryResultGame
impl RefUnwindSafe for InputInlineQueryResultGame
impl Send for InputInlineQueryResultGame
impl Sync for InputInlineQueryResultGame
impl Unpin for InputInlineQueryResultGame
impl UnwindSafe for InputInlineQueryResultGame
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