pub struct InlineKeyboardButtonTypeCallbackGame { /* private fields */ }
Expand description
A button with a game that sends a callback query to a bot. This button must be in the first column and row of the keyboard and can be attached only to a message with content of the type messageGame
Implementations§
Trait Implementations§
source§impl AsRef<InlineKeyboardButtonTypeCallbackGame> for InlineKeyboardButtonTypeCallbackGame
impl AsRef<InlineKeyboardButtonTypeCallbackGame> for InlineKeyboardButtonTypeCallbackGame
source§fn as_ref(&self) -> &InlineKeyboardButtonTypeCallbackGame
fn as_ref(&self) -> &InlineKeyboardButtonTypeCallbackGame
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for InlineKeyboardButtonTypeCallbackGame
impl Clone for InlineKeyboardButtonTypeCallbackGame
source§fn clone(&self) -> InlineKeyboardButtonTypeCallbackGame
fn clone(&self) -> InlineKeyboardButtonTypeCallbackGame
Returns a copy 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 Default for InlineKeyboardButtonTypeCallbackGame
impl Default for InlineKeyboardButtonTypeCallbackGame
source§fn default() -> InlineKeyboardButtonTypeCallbackGame
fn default() -> InlineKeyboardButtonTypeCallbackGame
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InlineKeyboardButtonTypeCallbackGame
impl<'de> Deserialize<'de> for InlineKeyboardButtonTypeCallbackGame
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