pub struct InlineKeyboardButtonTypeBuy { /* private fields */ }
Expand description
A button to buy something. This button must be in the first column and row of the keyboard and can be attached only to a message with content of the type messageInvoice
Implementations§
Trait Implementations§
Source§impl AsRef<InlineKeyboardButtonTypeBuy> for InlineKeyboardButtonTypeBuy
impl AsRef<InlineKeyboardButtonTypeBuy> for InlineKeyboardButtonTypeBuy
Source§fn as_ref(&self) -> &InlineKeyboardButtonTypeBuy
fn as_ref(&self) -> &InlineKeyboardButtonTypeBuy
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for InlineKeyboardButtonTypeBuy
impl Clone for InlineKeyboardButtonTypeBuy
Source§fn clone(&self) -> InlineKeyboardButtonTypeBuy
fn clone(&self) -> InlineKeyboardButtonTypeBuy
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 InlineKeyboardButtonTypeBuy
impl Debug for InlineKeyboardButtonTypeBuy
Source§impl Default for InlineKeyboardButtonTypeBuy
impl Default for InlineKeyboardButtonTypeBuy
Source§fn default() -> InlineKeyboardButtonTypeBuy
fn default() -> InlineKeyboardButtonTypeBuy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InlineKeyboardButtonTypeBuy
impl<'de> Deserialize<'de> for InlineKeyboardButtonTypeBuy
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
impl TDInlineKeyboardButtonType for InlineKeyboardButtonTypeBuy
Auto Trait Implementations§
impl Freeze for InlineKeyboardButtonTypeBuy
impl RefUnwindSafe for InlineKeyboardButtonTypeBuy
impl Send for InlineKeyboardButtonTypeBuy
impl Sync for InlineKeyboardButtonTypeBuy
impl Unpin for InlineKeyboardButtonTypeBuy
impl UnwindSafe for InlineKeyboardButtonTypeBuy
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