pub enum ReplyMarkup {
InlineKeyboard(InlineKeyboardMarkup),
ReplyKeyboard(ReplyKeyboardMarkup),
RemoveReplyKeyboard(ReplyKeyboardRemove),
ForceReply(ForceReply),
}Expand description
Reply markups
Variants§
InlineKeyboard(InlineKeyboardMarkup)
ReplyKeyboard(ReplyKeyboardMarkup)
RemoveReplyKeyboard(ReplyKeyboardRemove)
ForceReply(ForceReply)
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 From<ForceReply> for ReplyMarkup
impl From<ForceReply> for ReplyMarkup
Source§fn from(markup: ForceReply) -> Self
fn from(markup: ForceReply) -> Self
Converts to this type from the input type.
Source§impl From<InlineKeyboardMarkup> for ReplyMarkup
impl From<InlineKeyboardMarkup> for ReplyMarkup
Source§fn from(markup: InlineKeyboardMarkup) -> Self
fn from(markup: InlineKeyboardMarkup) -> Self
Converts to this type from the input type.
Source§impl From<ReplyKeyboardMarkup> for ReplyMarkup
impl From<ReplyKeyboardMarkup> for ReplyMarkup
Source§fn from(markup: ReplyKeyboardMarkup) -> Self
fn from(markup: ReplyKeyboardMarkup) -> Self
Converts to this type from the input type.
Source§impl From<ReplyKeyboardRemove> for ReplyMarkup
impl From<ReplyKeyboardRemove> for ReplyMarkup
Source§fn from(markup: ReplyKeyboardRemove) -> Self
fn from(markup: ReplyKeyboardRemove) -> Self
Converts to this type from the input type.
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