pub struct PaymentReceiptTypeRegular {
pub payment_provider_user_id: i64,
pub invoice: Invoice,
pub order_info: Option<OrderInfo>,
pub shipping_option: Option<ShippingOption>,
pub credentials_title: String,
pub tip_amount: i64,
}Expand description
The payment was done using a third-party payment provider
Fields§
§payment_provider_user_id: i64User identifier of the payment provider bot
invoice: InvoiceInformation about the invoice
order_info: Option<OrderInfo>Order information; may be null
shipping_option: Option<ShippingOption>Chosen shipping option; may be null
credentials_title: StringTitle of the saved credentials chosen by the buyer
tip_amount: i64The amount of tip chosen by the buyer in the smallest units of the currency
Trait Implementations§
Source§impl Clone for PaymentReceiptTypeRegular
impl Clone for PaymentReceiptTypeRegular
Source§fn clone(&self) -> PaymentReceiptTypeRegular
fn clone(&self) -> PaymentReceiptTypeRegular
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 PaymentReceiptTypeRegular
impl Debug for PaymentReceiptTypeRegular
Source§impl Default for PaymentReceiptTypeRegular
impl Default for PaymentReceiptTypeRegular
Source§fn default() -> PaymentReceiptTypeRegular
fn default() -> PaymentReceiptTypeRegular
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaymentReceiptTypeRegular
impl<'de> Deserialize<'de> for PaymentReceiptTypeRegular
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 StructuralPartialEq for PaymentReceiptTypeRegular
Auto Trait Implementations§
impl Freeze for PaymentReceiptTypeRegular
impl RefUnwindSafe for PaymentReceiptTypeRegular
impl Send for PaymentReceiptTypeRegular
impl Sync for PaymentReceiptTypeRegular
impl Unpin for PaymentReceiptTypeRegular
impl UnsafeUnpin for PaymentReceiptTypeRegular
impl UnwindSafe for PaymentReceiptTypeRegular
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