pub struct CycleCountItem {
pub material_id: String,
pub storage_location: String,
pub book_quantity: Decimal,
pub counted_quantity: Decimal,
pub variance_quantity: Decimal,
pub unit_cost: Decimal,
pub variance_value: Decimal,
pub variance_type: CountVarianceType,
pub adjusted: bool,
pub adjustment_reason: Option<String>,
}Expand description
A single item within a cycle count.
Fields§
§material_id: StringMaterial being counted
storage_location: StringStorage location within the warehouse
book_quantity: DecimalQuantity recorded in the system
counted_quantity: DecimalQuantity physically counted
variance_quantity: DecimalDifference between counted and book quantities
unit_cost: DecimalUnit cost of the material
variance_value: DecimalMonetary value of the variance
variance_type: CountVarianceTypeClassification of variance severity
adjusted: boolWhether an inventory adjustment has been posted
adjustment_reason: Option<String>Reason for the adjustment (if adjusted)
Trait Implementations§
Source§impl Clone for CycleCountItem
impl Clone for CycleCountItem
Source§fn clone(&self) -> CycleCountItem
fn clone(&self) -> CycleCountItem
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 CycleCountItem
impl Debug for CycleCountItem
Source§impl<'de> Deserialize<'de> for CycleCountItem
impl<'de> Deserialize<'de> for CycleCountItem
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 CycleCountItem
impl RefUnwindSafe for CycleCountItem
impl Send for CycleCountItem
impl Sync for CycleCountItem
impl Unpin for CycleCountItem
impl UnwindSafe for CycleCountItem
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