pub struct InlineKeyboardButtonTypeCallback {
pub data: String,
}
Expand description
A button that sends a special 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<'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
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