pub struct SendPaymentForm { /* private fields */ }
Expand description
Sends a filled-out payment form to the bot for final verification
Implementations§
Source§impl SendPaymentForm
impl SendPaymentForm
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> SendPaymentFormBuilder
pub fn chat_id(&self) -> i64
pub fn message_id(&self) -> i64
pub fn payment_form_id(&self) -> i64
pub fn order_info_id(&self) -> &String
pub fn shipping_option_id(&self) -> &String
pub fn credentials(&self) -> &InputCredentials
pub fn tip_amount(&self) -> i64
Trait Implementations§
Source§impl AsRef<SendPaymentForm> for SendPaymentForm
impl AsRef<SendPaymentForm> for SendPaymentForm
Source§fn as_ref(&self) -> &SendPaymentForm
fn as_ref(&self) -> &SendPaymentForm
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for SendPaymentForm
impl Clone for SendPaymentForm
Source§fn clone(&self) -> SendPaymentForm
fn clone(&self) -> SendPaymentForm
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 SendPaymentForm
impl Debug for SendPaymentForm
Source§impl Default for SendPaymentForm
impl Default for SendPaymentForm
Source§fn default() -> SendPaymentForm
fn default() -> SendPaymentForm
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SendPaymentForm
impl<'de> Deserialize<'de> for SendPaymentForm
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 SendPaymentForm
impl RefUnwindSafe for SendPaymentForm
impl Send for SendPaymentForm
impl Sync for SendPaymentForm
impl Unpin for SendPaymentForm
impl UnwindSafe for SendPaymentForm
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