Struct tdlib_types::types::MessagePaymentSuccessful
source · pub struct MessagePaymentSuccessful {
pub invoice_message_id: i64,
pub currency: String,
pub total_amount: i64,
}
Expand description
A payment has been completed
Fields
invoice_message_id: i64
Identifier of the message with the corresponding invoice; can be an identifier of a deleted message
currency: String
Currency for the price of the product
total_amount: i64
Total price for the product, in the minimal quantity of the currency
Trait Implementations
sourceimpl Clone for MessagePaymentSuccessful
impl Clone for MessagePaymentSuccessful
sourcefn clone(&self) -> MessagePaymentSuccessful
fn clone(&self) -> MessagePaymentSuccessful
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MessagePaymentSuccessful
impl Debug for MessagePaymentSuccessful
sourceimpl<'de> Deserialize<'de> for MessagePaymentSuccessful
impl<'de> Deserialize<'de> for MessagePaymentSuccessful
sourcefn 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
sourceimpl Serialize for MessagePaymentSuccessful
impl Serialize for MessagePaymentSuccessful
Auto Trait Implementations
impl RefUnwindSafe for MessagePaymentSuccessful
impl Send for MessagePaymentSuccessful
impl Sync for MessagePaymentSuccessful
impl Unpin for MessagePaymentSuccessful
impl UnwindSafe for MessagePaymentSuccessful
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more