pub struct InventoryHealth {
pub total_skus: u64,
pub in_stock_skus: u64,
pub low_stock_skus: u64,
pub out_of_stock_skus: u64,
pub total_value: Decimal,
pub turnover_ratio: Option<Decimal>,
}Expand description
Inventory health summary
Fields§
§total_skus: u64Total SKUs tracked
in_stock_skus: u64SKUs currently in stock
low_stock_skus: u64SKUs at low stock level
out_of_stock_skus: u64SKUs out of stock
total_value: DecimalTotal inventory value
turnover_ratio: Option<Decimal>Inventory turnover ratio
Trait Implementations§
Source§impl Clone for InventoryHealth
impl Clone for InventoryHealth
Source§fn clone(&self) -> InventoryHealth
fn clone(&self) -> InventoryHealth
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InventoryHealth
impl Debug for InventoryHealth
Source§impl Default for InventoryHealth
impl Default for InventoryHealth
Source§fn default() -> InventoryHealth
fn default() -> InventoryHealth
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InventoryHealth
impl<'de> Deserialize<'de> for InventoryHealth
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<InventoryHealth, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InventoryHealth, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for InventoryHealth
impl Serialize for InventoryHealth
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for InventoryHealth
impl RefUnwindSafe for InventoryHealth
impl Send for InventoryHealth
impl Sync for InventoryHealth
impl Unpin for InventoryHealth
impl UnsafeUnpin for InventoryHealth
impl UnwindSafe for InventoryHealth
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