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
impl TDInlineKeyboardButtonType for InlineKeyboardButtonTypeCallbackGame
Auto Trait Implementations§
impl Freeze for InlineKeyboardButtonTypeCallbackGame
impl RefUnwindSafe for InlineKeyboardButtonTypeCallbackGame
impl Send for InlineKeyboardButtonTypeCallbackGame
impl Sync for InlineKeyboardButtonTypeCallbackGame
impl Unpin for InlineKeyboardButtonTypeCallbackGame
impl UnwindSafe for InlineKeyboardButtonTypeCallbackGame
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