Struct rust_tdlib::types::ReplyMarkupShowKeyboard
source · [−]pub struct ReplyMarkupShowKeyboard { /* private fields */ }Expand description
Contains a custom keyboard layout to quickly reply to bots
Implementations
sourceimpl 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
sourceimpl AsRef<ReplyMarkupShowKeyboard> for ReplyMarkupShowKeyboard
impl AsRef<ReplyMarkupShowKeyboard> for ReplyMarkupShowKeyboard
sourcefn as_ref(&self) -> &ReplyMarkupShowKeyboard
fn as_ref(&self) -> &ReplyMarkupShowKeyboard
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for ReplyMarkupShowKeyboard
impl Clone for ReplyMarkupShowKeyboard
sourcefn clone(&self) -> ReplyMarkupShowKeyboard
fn clone(&self) -> ReplyMarkupShowKeyboard
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ReplyMarkupShowKeyboard
impl Debug for ReplyMarkupShowKeyboard
sourceimpl Default for ReplyMarkupShowKeyboard
impl Default for ReplyMarkupShowKeyboard
sourcefn default() -> ReplyMarkupShowKeyboard
fn default() -> ReplyMarkupShowKeyboard
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ReplyMarkupShowKeyboard
impl<'de> Deserialize<'de> for ReplyMarkupShowKeyboard
sourcefn 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
sourceimpl Serialize for ReplyMarkupShowKeyboard
impl Serialize for ReplyMarkupShowKeyboard
impl TDReplyMarkup for ReplyMarkupShowKeyboard
Auto Trait Implementations
impl RefUnwindSafe for ReplyMarkupShowKeyboard
impl Send for ReplyMarkupShowKeyboard
impl Sync for ReplyMarkupShowKeyboard
impl Unpin for ReplyMarkupShowKeyboard
impl UnwindSafe for ReplyMarkupShowKeyboard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more