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 ReplyMarkup
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ReplyMarkup
[src]
impl PartialEq for ReplyMarkup
fn eq(&self, other: &ReplyMarkup) -> bool
[src]
fn eq(&self, other: &ReplyMarkup) -> bool
This 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) -> bool
This method tests for !=
.
impl Clone for ReplyMarkup
[src]
impl Clone for ReplyMarkup
fn clone(&self) -> ReplyMarkup
[src]
fn clone(&self) -> ReplyMarkup
Returns 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 ReplyMarkup
fn from(keyboard: ReplyKeyboardMarkup) -> ReplyMarkup
[src]
fn from(keyboard: ReplyKeyboardMarkup) -> ReplyMarkup
Performs the conversion.
impl Encodable for ReplyMarkup
[src]
impl Encodable for ReplyMarkup
Auto Trait Implementations
impl Send for ReplyMarkup
impl Send for ReplyMarkup
impl Sync for ReplyMarkup
impl Sync for ReplyMarkup