pub enum ReplyMarkup {
RemoveKeyboard(ReplyMarkupRemoveKeyboard),
ForceReply(ReplyMarkupForceReply),
ShowKeyboard(ReplyMarkupShowKeyboard),
InlineKeyboard(ReplyMarkupInlineKeyboard),
}
Variants§
RemoveKeyboard(ReplyMarkupRemoveKeyboard)
Instructs application to remove the keyboard once this message has been received. This kind of keyboard can’t be received in an incoming message; instead, updateChatReplyMarkup with message_id == 0 will be sent
ForceReply(ReplyMarkupForceReply)
Instructs application to force a reply to this message
ShowKeyboard(ReplyMarkupShowKeyboard)
Contains a custom keyboard layout to quickly reply to bots
InlineKeyboard(ReplyMarkupInlineKeyboard)
Contains an inline keyboard layout
Trait Implementations§
Source§impl Clone for ReplyMarkup
impl Clone for ReplyMarkup
Source§fn clone(&self) -> ReplyMarkup
fn clone(&self) -> ReplyMarkup
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 ReplyMarkup
impl Debug for ReplyMarkup
Source§impl<'de> Deserialize<'de> for ReplyMarkup
impl<'de> Deserialize<'de> for ReplyMarkup
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
Source§impl PartialEq for ReplyMarkup
impl PartialEq for ReplyMarkup
Source§impl Serialize for ReplyMarkup
impl Serialize for ReplyMarkup
impl StructuralPartialEq for ReplyMarkup
Auto Trait Implementations§
impl Freeze for ReplyMarkup
impl RefUnwindSafe for ReplyMarkup
impl Send for ReplyMarkup
impl Sync for ReplyMarkup
impl Unpin for ReplyMarkup
impl UnwindSafe for ReplyMarkup
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