pub struct TonRevenueStatus {
pub total_amount: i64,
pub balance_amount: i64,
pub available_amount: i64,
pub withdrawal_enabled: bool,
}Expand description
Contains information about Toncoins earned by the current user
Fields§
§total_amount: i64Total Toncoin amount earned; in the smallest units of the cryptocurrency
balance_amount: i64The Toncoin amount that isn’t withdrawn yet; in the smallest units of the cryptocurrency
available_amount: i64The Toncoin amount that is available for withdrawal; in the smallest units of the cryptocurrency
withdrawal_enabled: boolTrue, if Toncoins can be withdrawn
Trait Implementations§
Source§impl Clone for TonRevenueStatus
impl Clone for TonRevenueStatus
Source§fn clone(&self) -> TonRevenueStatus
fn clone(&self) -> TonRevenueStatus
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 TonRevenueStatus
impl Debug for TonRevenueStatus
Source§impl Default for TonRevenueStatus
impl Default for TonRevenueStatus
Source§fn default() -> TonRevenueStatus
fn default() -> TonRevenueStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TonRevenueStatus
impl<'de> Deserialize<'de> for TonRevenueStatus
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 TonRevenueStatus
impl PartialEq for TonRevenueStatus
Source§impl Serialize for TonRevenueStatus
impl Serialize for TonRevenueStatus
impl StructuralPartialEq for TonRevenueStatus
Auto Trait Implementations§
impl Freeze for TonRevenueStatus
impl RefUnwindSafe for TonRevenueStatus
impl Send for TonRevenueStatus
impl Sync for TonRevenueStatus
impl Unpin for TonRevenueStatus
impl UnsafeUnpin for TonRevenueStatus
impl UnwindSafe for TonRevenueStatus
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