Struct tdlib_types::types::InlineKeyboardButton
source · pub struct InlineKeyboardButton {
pub text: String,
pub type_: InlineKeyboardButtonType,
}
Expand description
Represents a single button in an inline keyboard
Fields
text: String
Text of the button
type_: InlineKeyboardButtonType
Type of the button
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 Serialize for InlineKeyboardButton
impl Serialize 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