pub struct InlineQueryResultGame {
pub id: String,
pub game_short_name: String,
pub reply_markup: Option<InlineKeyboardMarkup>,
}Fields§
§id: StringUnique identifier for this result, 1-64 Bytes
game_short_name: StringShort name of the game
reply_markup: Option<InlineKeyboardMarkup>Inline keyboard attached to the message
Trait Implementations§
Source§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<InlineQueryResultGame, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InlineQueryResultGame, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<InlineQueryResultGame> for InlineQueryResult
impl From<InlineQueryResultGame> for InlineQueryResult
Source§fn from(game: InlineQueryResultGame) -> InlineQueryResult
fn from(game: InlineQueryResultGame) -> InlineQueryResult
Converts to this type from the input type.
Source§impl Serialize for InlineQueryResultGame
impl Serialize for InlineQueryResultGame
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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