Struct rust_tdlib::types::ReplyMarkupShowKeyboard
source · pub struct ReplyMarkupShowKeyboard { /* private fields */ }
Expand description
Contains a custom keyboard layout to quickly reply to bots
Implementations§
source§impl ReplyMarkupShowKeyboard
impl ReplyMarkupShowKeyboard
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> ReplyMarkupShowKeyboardBuilder
pub fn rows(&self) -> &Vec<Vec<KeyboardButton>>
pub fn resize_keyboard(&self) -> bool
pub fn one_time(&self) -> bool
pub fn is_personal(&self) -> bool
pub fn input_field_placeholder(&self) -> &String
Trait Implementations§
source§impl AsRef<ReplyMarkupShowKeyboard> for ReplyMarkupShowKeyboard
impl AsRef<ReplyMarkupShowKeyboard> for ReplyMarkupShowKeyboard
source§fn as_ref(&self) -> &ReplyMarkupShowKeyboard
fn as_ref(&self) -> &ReplyMarkupShowKeyboard
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for ReplyMarkupShowKeyboard
impl Clone for ReplyMarkupShowKeyboard
source§fn clone(&self) -> ReplyMarkupShowKeyboard
fn clone(&self) -> ReplyMarkupShowKeyboard
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 ReplyMarkupShowKeyboard
impl Debug for ReplyMarkupShowKeyboard
source§impl Default for ReplyMarkupShowKeyboard
impl Default for ReplyMarkupShowKeyboard
source§fn default() -> ReplyMarkupShowKeyboard
fn default() -> ReplyMarkupShowKeyboard
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ReplyMarkupShowKeyboard
impl<'de> Deserialize<'de> for ReplyMarkupShowKeyboard
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