pub struct InventoryTurnover {
pub company_code: String,
pub period_start: NaiveDate,
pub period_end: NaiveDate,
pub average_inventory: Decimal,
pub cogs: Decimal,
pub turnover_ratio: Decimal,
pub dio_days: Decimal,
pub by_material: Vec<MaterialTurnover>,
}Expand description
Inventory turnover analysis.
Fields§
§company_code: StringCompany code.
period_start: NaiveDatePeriod start.
period_end: NaiveDatePeriod end.
average_inventory: DecimalAverage inventory.
cogs: DecimalCost of goods sold.
turnover_ratio: DecimalTurnover ratio.
dio_days: DecimalDays inventory outstanding.
by_material: Vec<MaterialTurnover>By material.
Implementations§
Trait Implementations§
Source§impl Clone for InventoryTurnover
impl Clone for InventoryTurnover
Source§fn clone(&self) -> InventoryTurnover
fn clone(&self) -> InventoryTurnover
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 InventoryTurnover
impl Debug for InventoryTurnover
Source§impl<'de> Deserialize<'de> for InventoryTurnover
impl<'de> Deserialize<'de> for InventoryTurnover
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 InventoryTurnover
impl RefUnwindSafe for InventoryTurnover
impl Send for InventoryTurnover
impl Sync for InventoryTurnover
impl Unpin for InventoryTurnover
impl UnwindSafe for InventoryTurnover
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