Enum telexide_fork::model::ReplyMarkup
source · pub enum ReplyMarkup {
InlineKeyboardMarkup(InlineKeyboardMarkup),
ReplyKeyboardMarkup(ReplyKeyboardMarkup),
ReplyKeyboardRemove(ReplyKeyboardRemove),
ForceReply(ForceReply),
}Expand description
Enum object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user.
Variants§
InlineKeyboardMarkup(InlineKeyboardMarkup)
ReplyKeyboardMarkup(ReplyKeyboardMarkup)
ReplyKeyboardRemove(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 copy 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<ReplyMarkup> for ReplyMarkup
impl PartialEq<ReplyMarkup> for ReplyMarkup
source§fn eq(&self, other: &ReplyMarkup) -> bool
fn eq(&self, other: &ReplyMarkup) -> bool
This method tests for
self and other values to be equal, and is used
by ==.