pub struct NewReconciliationItemRow {
pub id: Uuid,
pub reconciliation_id: Uuid,
pub item_id: Uuid,
pub counted_qty: Decimal,
pub counted_rate: Decimal,
pub qty_difference: Decimal,
pub value_difference: Decimal,
}Expand description
The exact row a counted reconciliation line insert writes.
counted_rate is stored as SUPPLIED (0 meaning “keep the current rate”), while the differences
are computed against the bin’s locked balance — so the line records both what was counted and
what it moved.
Fields§
§id: Uuid§reconciliation_id: Uuid§item_id: Uuid§counted_qty: Decimal§counted_rate: Decimal§qty_difference: Decimal§value_difference: DecimalAuto Trait Implementations§
impl Freeze for NewReconciliationItemRow
impl RefUnwindSafe for NewReconciliationItemRow
impl Send for NewReconciliationItemRow
impl Sync for NewReconciliationItemRow
impl Unpin for NewReconciliationItemRow
impl UnsafeUnpin for NewReconciliationItemRow
impl UnwindSafe for NewReconciliationItemRow
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more