Struct telegram_types::bot::types::InlineKeyboardMarkup
source · pub struct InlineKeyboardMarkup {
pub inline_keyboard: Vec<Vec<InlineKeyboardButton>>,
}
Expand description
An inline keyboard that appears right next to the message it belongs to.
Note
This will only work in Telegram versions released after 9 April, 2016. Older clients will display unsupported message.
Fields
inline_keyboard: Vec<Vec<InlineKeyboardButton>>
Array of button rows, each represented by an Array of InlineKeyboardButton
objects
Trait Implementations
sourceimpl Clone for InlineKeyboardMarkup
impl Clone for InlineKeyboardMarkup
sourcefn clone(&self) -> InlineKeyboardMarkup
fn clone(&self) -> InlineKeyboardMarkup
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 moresourceimpl Debug for InlineKeyboardMarkup
impl Debug for InlineKeyboardMarkup
sourceimpl<'de> Deserialize<'de> for InlineKeyboardMarkup
impl<'de> Deserialize<'de> for InlineKeyboardMarkup
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
sourceimpl PartialEq<InlineKeyboardMarkup> for InlineKeyboardMarkup
impl PartialEq<InlineKeyboardMarkup> for InlineKeyboardMarkup
sourcefn eq(&self, other: &InlineKeyboardMarkup) -> bool
fn eq(&self, other: &InlineKeyboardMarkup) -> bool
sourceimpl Serialize for InlineKeyboardMarkup
impl Serialize for InlineKeyboardMarkup
impl Eq for InlineKeyboardMarkup
impl StructuralEq for InlineKeyboardMarkup
impl StructuralPartialEq for InlineKeyboardMarkup
Auto Trait Implementations
impl RefUnwindSafe for InlineKeyboardMarkup
impl Send for InlineKeyboardMarkup
impl Sync for InlineKeyboardMarkup
impl Unpin for InlineKeyboardMarkup
impl UnwindSafe for InlineKeyboardMarkup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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