pub struct WorksheetRow {
pub move_line_id: Uuid,
pub cost_line_id: Uuid,
pub share: Decimal,
pub additional_landed_cost: Decimal,
pub remaining_qty: Decimal,
}Expand description
One transient allocation-worksheet row, as the recompute writes it and tests read it back.
Fields§
§move_line_id: Uuid§cost_line_id: UuidThis cost line’s rounded allocation onto the target line.
additional_landed_cost: DecimalCUMULATIVE landed cost allocated onto this target line across ALL cost lines.
remaining_qty: DecimalThe target line’s still-on-hand quantity at validate time (read-only FIFO attribution).
Trait Implementations§
Source§impl Clone for WorksheetRow
impl Clone for WorksheetRow
Auto Trait Implementations§
impl Freeze for WorksheetRow
impl RefUnwindSafe for WorksheetRow
impl Send for WorksheetRow
impl Sync for WorksheetRow
impl Unpin for WorksheetRow
impl UnsafeUnpin for WorksheetRow
impl UnwindSafe for WorksheetRow
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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