pub struct SaleReport {
pub total_sales: String,
pub net_sales: String,
pub average_sales: String,
pub total_orders: i32,
pub total_items: i32,
pub total_tax: String,
pub total_shipping: String,
pub total_refunds: i32,
pub total_discount: String,
pub totals_grouped_by: String,
pub totals: HashMap<NaiveDate, Total>,
pub total_customers: i32,
}
Fields§
§total_sales: String
Gross sales in the period.
net_sales: String
Net sales in the period.
average_sales: String
Average net daily sales.
total_orders: i32
Total of orders placed.
total_items: i32
Total of items purchased.
total_tax: String
Total charged for taxes.
total_shipping: String
Total charged for shipping.
total_refunds: i32
Total of refunded orders.
total_discount: String
Total of coupons used.
totals_grouped_by: String
Group type.
totals: HashMap<NaiveDate, Total>
Totals.
total_customers: i32
Trait Implementations§
Source§impl Clone for SaleReport
impl Clone for SaleReport
Source§fn clone(&self) -> SaleReport
fn clone(&self) -> SaleReport
Returns a copy 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 SaleReport
impl Debug for SaleReport
Source§impl<'de> Deserialize<'de> for SaleReport
impl<'de> Deserialize<'de> for SaleReport
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 SaleReport
impl RefUnwindSafe for SaleReport
impl Send for SaleReport
impl Sync for SaleReport
impl Unpin for SaleReport
impl UnwindSafe for SaleReport
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