pub struct PaymentReceipt {
pub date: i32,
pub payments_provider_user_id: i32,
pub invoice: Invoice,
pub order_info: Option<OrderInfo>,
pub shipping_option: Option<ShippingOption>,
pub credentials_title: String,
}Expand description
Contains information about a successful payment
Fields§
§date: i32Point in time (Unix timestamp) when the payment was made
payments_provider_user_id: i32User identifier of the payment provider bot
invoice: InvoiceContains information about the invoice
order_info: Option<OrderInfo>Contains order information; may be null
shipping_option: Option<ShippingOption>Chosen shipping option; may be null
credentials_title: StringTitle of the saved credentials
Trait Implementations§
Source§impl Clone for PaymentReceipt
impl Clone for PaymentReceipt
Source§fn clone(&self) -> PaymentReceipt
fn clone(&self) -> PaymentReceipt
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 PaymentReceipt
impl Debug for PaymentReceipt
Source§impl<'de> Deserialize<'de> for PaymentReceipt
impl<'de> Deserialize<'de> for PaymentReceipt
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 PaymentReceipt
impl RefUnwindSafe for PaymentReceipt
impl Send for PaymentReceipt
impl Sync for PaymentReceipt
impl Unpin for PaymentReceipt
impl UnwindSafe for PaymentReceipt
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