pub struct InlineKeyboardButtonTypeCallback {
pub data: String,
}
Expand description
A button that sends a callback query to a bot
Fields§
§data: String
Data to be sent to the bot via a callback query
Trait Implementations§
Source§impl Clone for InlineKeyboardButtonTypeCallback
impl Clone for InlineKeyboardButtonTypeCallback
Source§fn clone(&self) -> InlineKeyboardButtonTypeCallback
fn clone(&self) -> InlineKeyboardButtonTypeCallback
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 Default for InlineKeyboardButtonTypeCallback
impl Default for InlineKeyboardButtonTypeCallback
Source§fn default() -> InlineKeyboardButtonTypeCallback
fn default() -> InlineKeyboardButtonTypeCallback
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InlineKeyboardButtonTypeCallback
impl<'de> Deserialize<'de> for InlineKeyboardButtonTypeCallback
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
Source§impl PartialEq for InlineKeyboardButtonTypeCallback
impl PartialEq for InlineKeyboardButtonTypeCallback
Source§fn eq(&self, other: &InlineKeyboardButtonTypeCallback) -> bool
fn eq(&self, other: &InlineKeyboardButtonTypeCallback) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for InlineKeyboardButtonTypeCallback
Auto Trait Implementations§
impl Freeze for InlineKeyboardButtonTypeCallback
impl RefUnwindSafe for InlineKeyboardButtonTypeCallback
impl Send for InlineKeyboardButtonTypeCallback
impl Sync for InlineKeyboardButtonTypeCallback
impl Unpin for InlineKeyboardButtonTypeCallback
impl UnwindSafe for InlineKeyboardButtonTypeCallback
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