pub struct SendPaymentForm {
pub chat_id: i64,
pub message_id: i64,
pub order_info_id: String,
pub shipping_option_id: String,
pub credentials: InputCredentials,
}Expand description
Sends a filled-out payment form to the bot for final verification
Fields§
§chat_id: i64Chat identifier of the Invoice message
message_id: i64Message identifier
order_info_id: StringIdentifier returned by ValidateOrderInfo, or an empty string
shipping_option_id: StringIdentifier of a chosen shipping option, if applicable
credentials: InputCredentialsThe credentials chosen by user for payment
Trait Implementations§
Source§impl Clone for SendPaymentForm
impl Clone for SendPaymentForm
Source§fn clone(&self) -> SendPaymentForm
fn clone(&self) -> SendPaymentForm
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 SendPaymentForm
impl Debug for SendPaymentForm
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
Source§impl Method for SendPaymentForm
impl Method for SendPaymentForm
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