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
Source§impl Serialize for ReplyMarkupShowKeyboard
impl Serialize for ReplyMarkupShowKeyboard
impl TDReplyMarkup for ReplyMarkupShowKeyboard
Auto Trait Implementations§
impl Freeze for ReplyMarkupShowKeyboard
impl RefUnwindSafe for ReplyMarkupShowKeyboard
impl Send for ReplyMarkupShowKeyboard
impl Sync for ReplyMarkupShowKeyboard
impl Unpin for ReplyMarkupShowKeyboard
impl UnwindSafe for ReplyMarkupShowKeyboard
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more