pub struct InventoryValuationResult {
pub company_code: String,
pub as_of_date: NaiveDate,
pub lines: Vec<InventoryValuationLine>,
pub total_cost: Decimal,
pub total_nrv: Decimal,
pub total_write_down: Decimal,
pub total_carrying_value: Decimal,
pub impaired_count: u32,
pub valuation_report: InventoryValuationReport,
}Expand description
Inventory valuation report for a company/period, with write-down analysis.
Fields§
§company_code: StringCompany code.
as_of_date: NaiveDateAs-of date.
lines: Vec<InventoryValuationLine>Per-material valuation lines.
total_cost: DecimalTotal cost of all positions.
total_nrv: DecimalTotal NRV of all positions.
total_write_down: DecimalTotal write-down required.
total_carrying_value: DecimalCarrying value after write-downs.
impaired_count: u32Count of impaired positions.
valuation_report: InventoryValuationReportUnderlying valuation report (sorted by value, with ABC analysis).
Trait Implementations§
Source§impl Clone for InventoryValuationResult
impl Clone for InventoryValuationResult
Source§fn clone(&self) -> InventoryValuationResult
fn clone(&self) -> InventoryValuationResult
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 InventoryValuationResult
impl Debug for InventoryValuationResult
Source§impl<'de> Deserialize<'de> for InventoryValuationResult
impl<'de> Deserialize<'de> for InventoryValuationResult
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 InventoryValuationResult
impl RefUnwindSafe for InventoryValuationResult
impl Send for InventoryValuationResult
impl Sync for InventoryValuationResult
impl Unpin for InventoryValuationResult
impl UnsafeUnpin for InventoryValuationResult
impl UnwindSafe for InventoryValuationResult
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