Struct telegram_bot::types::ReplyKeyboardMarkup [−][src]
pub struct ReplyKeyboardMarkup { pub keyboard: Vec<Vec<String>>, pub resize_keyboard: Option<bool>, pub one_time_keyboard: Option<bool>, pub selective: Option<bool>, }
Telegram type "ReplyKeyboardMarkup" (directly mapped)
Fields
keyboard: Vec<Vec<String>>
resize_keyboard: Option<bool>
one_time_keyboard: Option<bool>
selective: Option<bool>
Trait Implementations
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 Decodable for ReplyKeyboardMarkup
[src]
impl Decodable for ReplyKeyboardMarkup
fn decode<__D: Decoder>(d: &mut __D) -> Result<ReplyKeyboardMarkup, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<ReplyKeyboardMarkup, __D::Error>
Deserialize a value using a Decoder
.
impl Debug for ReplyKeyboardMarkup
[src]
impl Debug for ReplyKeyboardMarkup
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 ReplyKeyboardMarkup
[src]
impl PartialEq for ReplyKeyboardMarkup
fn eq(&self, other: &ReplyKeyboardMarkup) -> bool
[src]
fn eq(&self, other: &ReplyKeyboardMarkup) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ReplyKeyboardMarkup) -> bool
[src]
fn ne(&self, other: &ReplyKeyboardMarkup) -> bool
This method tests for !=
.
impl Clone for ReplyKeyboardMarkup
[src]
impl Clone for ReplyKeyboardMarkup
fn clone(&self) -> ReplyKeyboardMarkup
[src]
fn clone(&self) -> ReplyKeyboardMarkup
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 Default for ReplyKeyboardMarkup
[src]
impl Default for ReplyKeyboardMarkup
impl Encodable for ReplyKeyboardMarkup
[src]
impl Encodable for ReplyKeyboardMarkup
Auto Trait Implementations
impl Send for ReplyKeyboardMarkup
impl Send for ReplyKeyboardMarkup
impl Sync for ReplyKeyboardMarkup
impl Sync for ReplyKeyboardMarkup