pub struct TonTransactionTypeFragmentDeposit {
pub is_gift: bool,
pub sticker: Option<Sticker>,
}Expand description
The transaction is a deposit of Toncoins from Fragment
Fields§
§is_gift: boolTrue, if the transaction is a gift from another user
sticker: Option<Sticker>The sticker to be shown in the transaction information; may be null if unknown
Trait Implementations§
Source§impl Clone for TonTransactionTypeFragmentDeposit
impl Clone for TonTransactionTypeFragmentDeposit
Source§fn clone(&self) -> TonTransactionTypeFragmentDeposit
fn clone(&self) -> TonTransactionTypeFragmentDeposit
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 TonTransactionTypeFragmentDeposit
impl<'de> Deserialize<'de> for TonTransactionTypeFragmentDeposit
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 TonTransactionTypeFragmentDeposit
impl PartialEq for TonTransactionTypeFragmentDeposit
Source§fn eq(&self, other: &TonTransactionTypeFragmentDeposit) -> bool
fn eq(&self, other: &TonTransactionTypeFragmentDeposit) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TonTransactionTypeFragmentDeposit
Auto Trait Implementations§
impl Freeze for TonTransactionTypeFragmentDeposit
impl RefUnwindSafe for TonTransactionTypeFragmentDeposit
impl Send for TonTransactionTypeFragmentDeposit
impl Sync for TonTransactionTypeFragmentDeposit
impl Unpin for TonTransactionTypeFragmentDeposit
impl UnsafeUnpin for TonTransactionTypeFragmentDeposit
impl UnwindSafe for TonTransactionTypeFragmentDeposit
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