pub struct AppStats {
pub volume: Decimal,
pub conversion: Decimal,
pub unique_users_count: u64,
pub created_invoice_count: u64,
pub paid_invoice_count: u64,
pub start_at: DateTime<Utc>,
pub end_at: DateTime<Utc>,
}Fields§
§volume: DecimalTotal volume of paid invoices in USD.
conversion: DecimalConversion of all created invoices.
unique_users_count: u64The unique number of users who have paid the invoice.
created_invoice_count: u64Total created invoice count.
paid_invoice_count: u64Total paid invoice count.
start_at: DateTime<Utc>The date on which the statistics calculation was started in ISO 8601 format.
end_at: DateTime<Utc>The date on which the statistics calculation was ended in ISO 8601 format.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AppStats
impl<'de> Deserialize<'de> for AppStats
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
Auto Trait Implementations§
impl Freeze for AppStats
impl RefUnwindSafe for AppStats
impl Send for AppStats
impl Sync for AppStats
impl Unpin for AppStats
impl UnwindSafe for AppStats
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