pub struct RefundedPayment {
pub currency: String,
pub total_amount: i64,
pub invoice_payload: String,
pub telegram_payment_charge_id: String,
pub provider_payment_charge_id: Option<String>,
}Expand description
Information about a refunded payment.
Fields§
§currency: StringThree-letter ISO 4217 currency code, or "XTR" for Stars.
total_amount: i64Total refunded price in the smallest currency unit.
invoice_payload: StringBot-specified invoice payload.
telegram_payment_charge_id: StringTelegram payment charge identifier.
provider_payment_charge_id: Option<String>Provider payment refund identifier.
Trait Implementations§
Source§impl Clone for RefundedPayment
impl Clone for RefundedPayment
Source§fn clone(&self) -> RefundedPayment
fn clone(&self) -> RefundedPayment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RefundedPayment
impl Debug for RefundedPayment
Source§impl<'de> Deserialize<'de> for RefundedPayment
impl<'de> Deserialize<'de> for RefundedPayment
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 RefundedPayment
impl RefUnwindSafe for RefundedPayment
impl Send for RefundedPayment
impl Sync for RefundedPayment
impl Unpin for RefundedPayment
impl UnsafeUnpin for RefundedPayment
impl UnwindSafe for RefundedPayment
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