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
sourceimpl AsRef<InlineKeyboardButtonTypeCallbackGame> for InlineKeyboardButtonTypeCallbackGame
impl AsRef<InlineKeyboardButtonTypeCallbackGame> for InlineKeyboardButtonTypeCallbackGame
sourcefn as_ref(&self) -> &InlineKeyboardButtonTypeCallbackGame
fn as_ref(&self) -> &InlineKeyboardButtonTypeCallbackGame
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for InlineKeyboardButtonTypeCallbackGame
impl Clone for InlineKeyboardButtonTypeCallbackGame
sourcefn clone(&self) -> InlineKeyboardButtonTypeCallbackGame
fn clone(&self) -> InlineKeyboardButtonTypeCallbackGame
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for InlineKeyboardButtonTypeCallbackGame
impl Default for InlineKeyboardButtonTypeCallbackGame
sourcefn default() -> InlineKeyboardButtonTypeCallbackGame
fn default() -> InlineKeyboardButtonTypeCallbackGame
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InlineKeyboardButtonTypeCallbackGame
impl<'de> Deserialize<'de> for InlineKeyboardButtonTypeCallbackGame
sourcefn 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 RefUnwindSafe for InlineKeyboardButtonTypeCallbackGame
impl Send for InlineKeyboardButtonTypeCallbackGame
impl Sync for InlineKeyboardButtonTypeCallbackGame
impl Unpin for InlineKeyboardButtonTypeCallbackGame
impl UnwindSafe for InlineKeyboardButtonTypeCallbackGame
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more