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: i64Identifier of the message with the corresponding invoice; can be an identifier of a deleted message
currency: StringCurrency for the price of the product
total_amount: i64Total price for the product, in the minimal quantity of the currency
Trait Implementations§
Source§impl Clone for MessagePaymentSuccessful
impl Clone for MessagePaymentSuccessful
Source§fn clone(&self) -> MessagePaymentSuccessful
fn clone(&self) -> MessagePaymentSuccessful
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 MessagePaymentSuccessful
impl Debug for MessagePaymentSuccessful
Source§impl<'de> Deserialize<'de> for MessagePaymentSuccessful
impl<'de> Deserialize<'de> for MessagePaymentSuccessful
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 MessagePaymentSuccessful
impl RefUnwindSafe for MessagePaymentSuccessful
impl Send for MessagePaymentSuccessful
impl Sync for MessagePaymentSuccessful
impl Unpin for MessagePaymentSuccessful
impl UnwindSafe for MessagePaymentSuccessful
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