Struct rust_tdlib::types::SendPaymentForm
source · 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