Struct tg_botapi::types::SuccessfulPayment [−][src]
pub struct SuccessfulPayment {
pub currency: String,
pub total_amount: i64,
pub invoice_payload: String,
pub shipping_option_id: Option<String>,
pub order_info: Option<OrderInfo>,
pub telegram_payment_charge_id: String,
pub provider_payment_charge_id: String,
}
Fields
currency: String
total_amount: i64
invoice_payload: String
shipping_option_id: Option<String>
order_info: Option<OrderInfo>
telegram_payment_charge_id: String
provider_payment_charge_id: String
Trait Implementations
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 RefUnwindSafe for SuccessfulPayment
impl Send for SuccessfulPayment
impl Sync for SuccessfulPayment
impl Unpin for SuccessfulPayment
impl UnwindSafe for SuccessfulPayment
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more