pub struct TonRevenueStatistics {
pub revenue_by_day_graph: StatisticalGraph,
pub status: TonRevenueStatus,
pub usd_rate: f64,
}Expand description
A detailed statistics about Toncoins earned by the current user
Fields§
§revenue_by_day_graph: StatisticalGraphA graph containing amount of revenue in a given day
status: TonRevenueStatusAmount of earned revenue
usd_rate: f64Current conversion rate of nanotoncoin to USD cents
Trait Implementations§
Source§impl Clone for TonRevenueStatistics
impl Clone for TonRevenueStatistics
Source§fn clone(&self) -> TonRevenueStatistics
fn clone(&self) -> TonRevenueStatistics
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 TonRevenueStatistics
impl Debug for TonRevenueStatistics
Source§impl<'de> Deserialize<'de> for TonRevenueStatistics
impl<'de> Deserialize<'de> for TonRevenueStatistics
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 TonRevenueStatistics
impl PartialEq for TonRevenueStatistics
Source§impl Serialize for TonRevenueStatistics
impl Serialize for TonRevenueStatistics
impl StructuralPartialEq for TonRevenueStatistics
Auto Trait Implementations§
impl Freeze for TonRevenueStatistics
impl RefUnwindSafe for TonRevenueStatistics
impl Send for TonRevenueStatistics
impl Sync for TonRevenueStatistics
impl Unpin for TonRevenueStatistics
impl UnsafeUnpin for TonRevenueStatistics
impl UnwindSafe for TonRevenueStatistics
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