pub struct GetPaymentForm { /* private fields */ }
Expand description
Returns an invoice payment form. This method must be called when the user presses inlineKeyboardButtonBuy
Implementations§
Trait Implementations§
Source§impl AsRef<GetPaymentForm> for GetPaymentForm
impl AsRef<GetPaymentForm> for GetPaymentForm
Source§fn as_ref(&self) -> &GetPaymentForm
fn as_ref(&self) -> &GetPaymentForm
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for GetPaymentForm
impl Clone for GetPaymentForm
Source§fn clone(&self) -> GetPaymentForm
fn clone(&self) -> GetPaymentForm
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 GetPaymentForm
impl Debug for GetPaymentForm
Source§impl Default for GetPaymentForm
impl Default for GetPaymentForm
Source§fn default() -> GetPaymentForm
fn default() -> GetPaymentForm
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetPaymentForm
impl<'de> Deserialize<'de> for GetPaymentForm
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
Auto Trait Implementations§
impl Freeze for GetPaymentForm
impl RefUnwindSafe for GetPaymentForm
impl Send for GetPaymentForm
impl Sync for GetPaymentForm
impl Unpin for GetPaymentForm
impl UnwindSafe for GetPaymentForm
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