pub struct ReplyKeyboardForceReply {
pub single_use: bool,
pub selective: bool,
pub placeholder: Option<String>,
}Expand description
Generated from:
replyKeyboardForceReply#86b40b08 flags:# single_use:flags.1?true selective:flags.2?true placeholder:flags.3?string = ReplyMarkupFields§
§single_use: bool§selective: bool§placeholder: Option<String>Trait Implementations§
Source§impl Clone for ReplyKeyboardForceReply
impl Clone for ReplyKeyboardForceReply
Source§fn clone(&self) -> ReplyKeyboardForceReply
fn clone(&self) -> ReplyKeyboardForceReply
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 ReplyKeyboardForceReply
impl Debug for ReplyKeyboardForceReply
Source§impl Deserializable for ReplyKeyboardForceReply
impl Deserializable for ReplyKeyboardForceReply
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<ReplyKeyboardForceReply> for ReplyMarkup
impl From<ReplyKeyboardForceReply> for ReplyMarkup
Source§fn from(x: ReplyKeyboardForceReply) -> Self
fn from(x: ReplyKeyboardForceReply) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ReplyKeyboardForceReply
impl Identifiable for ReplyKeyboardForceReply
Source§const CONSTRUCTOR_ID: u32 = 0x86b40b08
const CONSTRUCTOR_ID: u32 = 0x86b40b08
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ReplyKeyboardForceReply
impl PartialEq for ReplyKeyboardForceReply
Source§impl TryFrom<ReplyMarkup> for ReplyKeyboardForceReply
impl TryFrom<ReplyMarkup> for ReplyKeyboardForceReply
Source§type Error = ReplyMarkup
type Error = ReplyMarkup
The type returned in the event of a conversion error.
impl StructuralPartialEq for ReplyKeyboardForceReply
Auto Trait Implementations§
impl Freeze for ReplyKeyboardForceReply
impl RefUnwindSafe for ReplyKeyboardForceReply
impl Send for ReplyKeyboardForceReply
impl Sync for ReplyKeyboardForceReply
impl Unpin for ReplyKeyboardForceReply
impl UnsafeUnpin for ReplyKeyboardForceReply
impl UnwindSafe for ReplyKeyboardForceReply
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