pub enum ReplyMarkup {
ReplyKeyboardHide(ReplyKeyboardHide),
ReplyKeyboardForceReply(ReplyKeyboardForceReply),
ReplyKeyboardMarkup(ReplyKeyboardMarkup),
ReplyInlineMarkup(ReplyInlineMarkup),
}Expand description
Variants§
ReplyKeyboardHide(ReplyKeyboardHide)
ReplyKeyboardForceReply(ReplyKeyboardForceReply)
ReplyKeyboardMarkup(ReplyKeyboardMarkup)
ReplyInlineMarkup(ReplyInlineMarkup)
Trait Implementations§
Source§impl Clone for ReplyMarkup
impl Clone for ReplyMarkup
Source§fn clone(&self) -> ReplyMarkup
fn clone(&self) -> ReplyMarkup
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 ReplyMarkup
impl Debug for ReplyMarkup
Source§impl Deserializable for ReplyMarkup
impl Deserializable for ReplyMarkup
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<ReplyInlineMarkup> for ReplyMarkup
impl From<ReplyInlineMarkup> for ReplyMarkup
Source§fn from(x: ReplyInlineMarkup) -> Self
fn from(x: ReplyInlineMarkup) -> Self
Converts to this type from the input type.
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 From<ReplyKeyboardHide> for ReplyMarkup
impl From<ReplyKeyboardHide> for ReplyMarkup
Source§fn from(x: ReplyKeyboardHide) -> Self
fn from(x: ReplyKeyboardHide) -> Self
Converts to this type from the input type.
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 PartialEq for ReplyMarkup
impl PartialEq for ReplyMarkup
Source§impl Serializable for ReplyMarkup
impl Serializable for ReplyMarkup
Source§impl TryFrom<ReplyMarkup> for ReplyInlineMarkup
impl TryFrom<ReplyMarkup> for ReplyInlineMarkup
Source§type Error = ReplyMarkup
type Error = ReplyMarkup
The type returned in the event of a conversion error.
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.
Source§impl TryFrom<ReplyMarkup> for ReplyKeyboardHide
impl TryFrom<ReplyMarkup> for ReplyKeyboardHide
Source§type Error = ReplyMarkup
type Error = ReplyMarkup
The type returned in the event of a conversion error.
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 ReplyMarkup
Auto Trait Implementations§
impl Freeze for ReplyMarkup
impl RefUnwindSafe for ReplyMarkup
impl Send for ReplyMarkup
impl Sync for ReplyMarkup
impl Unpin for ReplyMarkup
impl UnsafeUnpin for ReplyMarkup
impl UnwindSafe for ReplyMarkup
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