pub struct ChatRevenueStatistics {
pub revenue_by_hour_graph: StatisticalGraph,
pub revenue_graph: StatisticalGraph,
pub revenue_amount: ChatRevenueAmount,
pub usd_rate: f64,
}
Expand description
A detailed statistics about revenue earned from sponsored messages in a chat
Fields§
§revenue_by_hour_graph: StatisticalGraph
A graph containing amount of revenue in a given hour
revenue_graph: StatisticalGraph
A graph containing amount of revenue
revenue_amount: ChatRevenueAmount
Amount of earned revenue
usd_rate: f64
Current conversion rate of the cryptocurrency in which revenue is calculated to USD
Trait Implementations§
Source§impl Clone for ChatRevenueStatistics
impl Clone for ChatRevenueStatistics
Source§fn clone(&self) -> ChatRevenueStatistics
fn clone(&self) -> ChatRevenueStatistics
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 ChatRevenueStatistics
impl Debug for ChatRevenueStatistics
Source§impl<'de> Deserialize<'de> for ChatRevenueStatistics
impl<'de> Deserialize<'de> for ChatRevenueStatistics
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 ChatRevenueStatistics
impl PartialEq for ChatRevenueStatistics
Source§impl Serialize for ChatRevenueStatistics
impl Serialize for ChatRevenueStatistics
impl StructuralPartialEq for ChatRevenueStatistics
Auto Trait Implementations§
impl Freeze for ChatRevenueStatistics
impl RefUnwindSafe for ChatRevenueStatistics
impl Send for ChatRevenueStatistics
impl Sync for ChatRevenueStatistics
impl Unpin for ChatRevenueStatistics
impl UnwindSafe for ChatRevenueStatistics
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