Struct telegram_types::bot::types::InlineKeyboardButton
source · pub struct InlineKeyboardButton {
pub text: String,
pub pressed: InlineKeyboardButtonPressed,
}
Expand description
One button of an inline keyboard.
Fields
text: String
Label text on the button
pressed: InlineKeyboardButtonPressed
Trait Implementations
sourceimpl Clone for InlineKeyboardButton
impl Clone for InlineKeyboardButton
sourcefn clone(&self) -> InlineKeyboardButton
fn clone(&self) -> InlineKeyboardButton
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 InlineKeyboardButton
impl Debug for InlineKeyboardButton
sourceimpl<'de> Deserialize<'de> for InlineKeyboardButton
impl<'de> Deserialize<'de> for InlineKeyboardButton
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<InlineKeyboardButton> for InlineKeyboardButton
impl PartialEq<InlineKeyboardButton> for InlineKeyboardButton
sourcefn eq(&self, other: &InlineKeyboardButton) -> bool
fn eq(&self, other: &InlineKeyboardButton) -> bool
sourceimpl Serialize for InlineKeyboardButton
impl Serialize for InlineKeyboardButton
impl Eq for InlineKeyboardButton
impl StructuralEq for InlineKeyboardButton
impl StructuralPartialEq for InlineKeyboardButton
Auto Trait Implementations
impl RefUnwindSafe for InlineKeyboardButton
impl Send for InlineKeyboardButton
impl Sync for InlineKeyboardButton
impl Unpin for InlineKeyboardButton
impl UnwindSafe for InlineKeyboardButton
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