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>
The message reply markup; pass null if none. 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 Default for InputInlineQueryResultGame
impl Default for InputInlineQueryResultGame
Source§fn default() -> InputInlineQueryResultGame
fn default() -> InputInlineQueryResultGame
Returns the “default value” for a type. Read more
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
impl StructuralPartialEq for InputInlineQueryResultGame
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