pub struct ReplyKeyboardMarkup {
pub resize: bool,
pub single_use: bool,
pub selective: bool,
pub persistent: bool,
pub rows: Vec<KeyboardButtonRow>,
pub placeholder: Option<String>,
}Expand description
Generated from:
replyKeyboardMarkup#85dd99d1 flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true persistent:flags.4?true rows:Vector<KeyboardButtonRow> placeholder:flags.3?string = ReplyMarkupFields§
§resize: bool§single_use: bool§selective: bool§persistent: bool§rows: Vec<KeyboardButtonRow>§placeholder: Option<String>Trait Implementations§
Source§impl Clone for ReplyKeyboardMarkup
impl Clone for ReplyKeyboardMarkup
Source§fn clone(&self) -> ReplyKeyboardMarkup
fn clone(&self) -> ReplyKeyboardMarkup
Returns a duplicate 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 ReplyKeyboardMarkup
impl Debug for ReplyKeyboardMarkup
Source§impl Deserializable for ReplyKeyboardMarkup
impl Deserializable for ReplyKeyboardMarkup
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<ReplyKeyboardMarkup> for ReplyMarkup
impl From<ReplyKeyboardMarkup> for ReplyMarkup
Source§fn from(x: ReplyKeyboardMarkup) -> Self
fn from(x: ReplyKeyboardMarkup) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ReplyKeyboardMarkup
impl Identifiable for ReplyKeyboardMarkup
Source§const CONSTRUCTOR_ID: u32 = 0x85dd99d1
const CONSTRUCTOR_ID: u32 = 0x85dd99d1
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ReplyKeyboardMarkup
impl PartialEq for ReplyKeyboardMarkup
Source§impl Serializable for ReplyKeyboardMarkup
impl Serializable for ReplyKeyboardMarkup
Source§impl TryFrom<ReplyMarkup> for ReplyKeyboardMarkup
impl TryFrom<ReplyMarkup> for ReplyKeyboardMarkup
Source§type Error = ReplyMarkup
type Error = ReplyMarkup
The type returned in the event of a conversion error.
impl StructuralPartialEq for ReplyKeyboardMarkup
Auto Trait Implementations§
impl Freeze for ReplyKeyboardMarkup
impl RefUnwindSafe for ReplyKeyboardMarkup
impl Send for ReplyKeyboardMarkup
impl Sync for ReplyKeyboardMarkup
impl Unpin for ReplyKeyboardMarkup
impl UnsafeUnpin for ReplyKeyboardMarkup
impl UnwindSafe for ReplyKeyboardMarkup
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