pub enum TonTransactionType {
FragmentDeposit(TonTransactionTypeFragmentDeposit),
FragmentWithdrawal(TonTransactionTypeFragmentWithdrawal),
SuggestedPostPayment(TonTransactionTypeSuggestedPostPayment),
GiftPurchaseOffer(TonTransactionTypeGiftPurchaseOffer),
UpgradedGiftPurchase(TonTransactionTypeUpgradedGiftPurchase),
UpgradedGiftSale(TonTransactionTypeUpgradedGiftSale),
StakeDiceStake,
StakeDicePayout,
Unsupported,
}Variants§
FragmentDeposit(TonTransactionTypeFragmentDeposit)
The transaction is a deposit of Toncoins from Fragment
FragmentWithdrawal(TonTransactionTypeFragmentWithdrawal)
The transaction is a withdrawal of earned Toncoins to Fragment
SuggestedPostPayment(TonTransactionTypeSuggestedPostPayment)
The transaction is a payment for a suggested post
GiftPurchaseOffer(TonTransactionTypeGiftPurchaseOffer)
The transaction is an offer of gift purchase
UpgradedGiftPurchase(TonTransactionTypeUpgradedGiftPurchase)
The transaction is a purchase of an upgraded gift for some user or channel
UpgradedGiftSale(TonTransactionTypeUpgradedGiftSale)
The transaction is a sale of an upgraded gift
StakeDiceStake
The transaction is a payment for stake dice throw
StakeDicePayout
The transaction is a payment for successful stake dice throw
Unsupported
The transaction is a transaction of an unsupported type
Trait Implementations§
Source§impl Clone for TonTransactionType
impl Clone for TonTransactionType
Source§fn clone(&self) -> TonTransactionType
fn clone(&self) -> TonTransactionType
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 TonTransactionType
impl Debug for TonTransactionType
Source§impl<'de> Deserialize<'de> for TonTransactionType
impl<'de> Deserialize<'de> for TonTransactionType
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 TonTransactionType
impl PartialEq for TonTransactionType
Source§impl Serialize for TonTransactionType
impl Serialize for TonTransactionType
impl StructuralPartialEq for TonTransactionType
Auto Trait Implementations§
impl Freeze for TonTransactionType
impl RefUnwindSafe for TonTransactionType
impl Send for TonTransactionType
impl Sync for TonTransactionType
impl Unpin for TonTransactionType
impl UnsafeUnpin for TonTransactionType
impl UnwindSafe for TonTransactionType
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