pub struct TonTransactionTypeGiftPurchaseOffer {
pub gift: UpgradedGift,
}Expand description
The transaction is an offer of gift purchase
Fields§
§gift: UpgradedGiftThe gift
Trait Implementations§
Source§impl Clone for TonTransactionTypeGiftPurchaseOffer
impl Clone for TonTransactionTypeGiftPurchaseOffer
Source§fn clone(&self) -> TonTransactionTypeGiftPurchaseOffer
fn clone(&self) -> TonTransactionTypeGiftPurchaseOffer
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<'de> Deserialize<'de> for TonTransactionTypeGiftPurchaseOffer
impl<'de> Deserialize<'de> for TonTransactionTypeGiftPurchaseOffer
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 TonTransactionTypeGiftPurchaseOffer
impl PartialEq for TonTransactionTypeGiftPurchaseOffer
Source§fn eq(&self, other: &TonTransactionTypeGiftPurchaseOffer) -> bool
fn eq(&self, other: &TonTransactionTypeGiftPurchaseOffer) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TonTransactionTypeGiftPurchaseOffer
Auto Trait Implementations§
impl Freeze for TonTransactionTypeGiftPurchaseOffer
impl RefUnwindSafe for TonTransactionTypeGiftPurchaseOffer
impl Send for TonTransactionTypeGiftPurchaseOffer
impl Sync for TonTransactionTypeGiftPurchaseOffer
impl Unpin for TonTransactionTypeGiftPurchaseOffer
impl UnsafeUnpin for TonTransactionTypeGiftPurchaseOffer
impl UnwindSafe for TonTransactionTypeGiftPurchaseOffer
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