Improve name for CostSpec

korrat
Mar 19, 2024, 2:56 PM
JML667TTFQSOCP2HUY2BW445EQWJI37RBZ2XAULCFXAICTCEFJEAC

Dependencies

  • [2] PCHAKXNM Add an importer for Fidor account statements
  • [3] SEEWF7KX Implement metadata on transactions
  • [4] YDK6X6PP add a library of important types for beancount
  • [5] 2JBFREZG enable additional warnings

Change contents

  • replacement in common/beancount-types/src/cost.rs at line 17
    [3.7770][2.16258:16280]()
    PerUnitAndTotal {
    [3.7770]
    [2.16280]
    PerUnitAndFixed {
  • replacement in common/beancount-types/src/cost.rs at line 30
    [2.16597][2.16597:16670]()
    Self::PerUnitAndTotal { commodity, .. } => Some(*commodity),
    [2.16597]
    [2.16670]
    Self::PerUnitAndFixed { commodity, .. } => Some(*commodity),
  • replacement in common/beancount-types/src/cost.rs at line 39
    [2.16879][2.16879:16915]()
    Self::PerUnitAndTotal {
    [2.16879]
    [2.16915]
    Self::PerUnitAndFixed {
  • replacement in common/beancount-types/src/cost.rs at line 52
    [2.17252][2.17252:17288]()
    Self::PerUnitAndTotal {
    [2.17252]
    [2.17288]
    Self::PerUnitAndFixed {
  • replacement in common/beancount-types/src/cost.rs at line 65
    [3.8072][2.17401:17437]()
    Self::PerUnitAndTotal {
    [3.8072]
    [2.17437]
    Self::PerUnitAndFixed {
  • replacement in common/beancount-types/src/cost.rs at line 112
    [2.18378][2.18378:18420]()
    pub const fn from_per_unit_and_total(
    [2.18378]
    [2.18420]
    pub const fn from_per_unit_and_fixed(
  • replacement in common/beancount-types/src/cost.rs at line 118
    [2.18532][2.18532:18580]()
    basis: CostBasis::PerUnitAndTotal {
    [2.18532]
    [2.18580]
    basis: CostBasis::PerUnitAndFixed {
  • replacement in common/beancount-types/src/cost.rs at line 188
    [2.20236][2.20236:20277]()
    CostBasis::PerUnitAndTotal {
    [2.20236]
    [2.20277]
    CostBasis::PerUnitAndFixed {