Enum telegram_bot::types::ReplyMarkup [−][src]
pub enum ReplyMarkup {
Keyboard(ReplyKeyboardMarkup),
KeyboardHide(bool),
ForceReply(bool),
}Represents one of "ReplyKeyboardMarkup", "ReplyKeyboardHide" or "ForceReply". Used for the "reply_markup" field.
Variants
Keyboard(ReplyKeyboardMarkup)KeyboardHide(bool)The boolean corresponds to the "selective" field of "ReplyKeyboardHide"
ForceReply(bool)The boolean corresponds to the "selective" field of "ForceReply"
Trait Implementations
impl Debug for ReplyMarkup[src]
impl Debug for ReplyMarkupfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ReplyMarkup[src]
impl PartialEq for ReplyMarkupfn eq(&self, other: &ReplyMarkup) -> bool[src]
fn eq(&self, other: &ReplyMarkup) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ReplyMarkup) -> bool[src]
fn ne(&self, other: &ReplyMarkup) -> boolThis method tests for !=.
impl Clone for ReplyMarkup[src]
impl Clone for ReplyMarkupfn clone(&self) -> ReplyMarkup[src]
fn clone(&self) -> ReplyMarkupReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl From<ReplyKeyboardMarkup> for ReplyMarkup[src]
impl From<ReplyKeyboardMarkup> for ReplyMarkupfn from(keyboard: ReplyKeyboardMarkup) -> ReplyMarkup[src]
fn from(keyboard: ReplyKeyboardMarkup) -> ReplyMarkupPerforms the conversion.
impl Encodable for ReplyMarkup[src]
impl Encodable for ReplyMarkupAuto Trait Implementations
impl Send for ReplyMarkup
impl Send for ReplyMarkupimpl Sync for ReplyMarkup
impl Sync for ReplyMarkup