pub enum InlineKeyboardButtonKind {
Url(String),
CallbackData(String),
SwitchInlineQuery(String),
SwitchInlineQueryCurrentChat(String),
}Variants§
Trait Implementations§
Source§impl Clone for InlineKeyboardButtonKind
impl Clone for InlineKeyboardButtonKind
Source§fn clone(&self) -> InlineKeyboardButtonKind
fn clone(&self) -> InlineKeyboardButtonKind
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 Debug for InlineKeyboardButtonKind
impl Debug for InlineKeyboardButtonKind
Source§impl PartialEq for InlineKeyboardButtonKind
impl PartialEq for InlineKeyboardButtonKind
Source§impl PartialOrd for InlineKeyboardButtonKind
impl PartialOrd for InlineKeyboardButtonKind
Source§impl Serialize for InlineKeyboardButtonKind
impl Serialize for InlineKeyboardButtonKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for InlineKeyboardButtonKind
Auto Trait Implementations§
impl Freeze for InlineKeyboardButtonKind
impl RefUnwindSafe for InlineKeyboardButtonKind
impl Send for InlineKeyboardButtonKind
impl Sync for InlineKeyboardButtonKind
impl Unpin for InlineKeyboardButtonKind
impl UnwindSafe for InlineKeyboardButtonKind
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