pub struct PaymentReceiptTypeStars {
pub star_count: i64,
pub transaction_id: String,
}Expand description
The payment was done using Telegram Stars
Fields§
§star_count: i64Number of Telegram Stars that were paid
transaction_id: StringUnique identifier of the transaction that can be used to dispute it
Trait Implementations§
Source§impl Clone for PaymentReceiptTypeStars
impl Clone for PaymentReceiptTypeStars
Source§fn clone(&self) -> PaymentReceiptTypeStars
fn clone(&self) -> PaymentReceiptTypeStars
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 PaymentReceiptTypeStars
impl Debug for PaymentReceiptTypeStars
Source§impl Default for PaymentReceiptTypeStars
impl Default for PaymentReceiptTypeStars
Source§fn default() -> PaymentReceiptTypeStars
fn default() -> PaymentReceiptTypeStars
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaymentReceiptTypeStars
impl<'de> Deserialize<'de> for PaymentReceiptTypeStars
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
Source§impl PartialEq for PaymentReceiptTypeStars
impl PartialEq for PaymentReceiptTypeStars
Source§impl Serialize for PaymentReceiptTypeStars
impl Serialize for PaymentReceiptTypeStars
impl StructuralPartialEq for PaymentReceiptTypeStars
Auto Trait Implementations§
impl Freeze for PaymentReceiptTypeStars
impl RefUnwindSafe for PaymentReceiptTypeStars
impl Send for PaymentReceiptTypeStars
impl Sync for PaymentReceiptTypeStars
impl Unpin for PaymentReceiptTypeStars
impl UnsafeUnpin for PaymentReceiptTypeStars
impl UnwindSafe for PaymentReceiptTypeStars
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