pub struct UnitCost {
pub amount: Amount,
pub date: NaiveDate,
}
Expand description
The cost basis information (unit cost and transaction date) used to identify a position in the running balances.
Fields§
§amount: Amount
The unit cost basis.
date: NaiveDate
The transaction date.
Trait Implementations§
source§impl PartialEq<UnitCost> for UnitCost
impl PartialEq<UnitCost> for UnitCost
impl Eq for UnitCost
impl StructuralEq for UnitCost
impl StructuralPartialEq for UnitCost
Auto Trait Implementations§
impl RefUnwindSafe for UnitCost
impl Send for UnitCost
impl Sync for UnitCost
impl Unpin for UnitCost
impl UnwindSafe for UnitCost
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