Skip to content

Commit

Permalink
fix: naming fix to Transport
Browse files Browse the repository at this point in the history
  • Loading branch information
ocni-dtu committed Jun 5, 2024
1 parent 27ba10a commit fd17d3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/models/src/product.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::collections::HashMap;
use tsify::Tsify;

use crate::epd::EPD;
use crate::life_cycle_base::{ImpactCategoryKey, Results};
use crate::life_cycle_base::{ImpactCategoryKey, LifeCycleStage, Results};
use crate::shared::{Reference, ReferenceType, Unit};
use crate::techflow::TechFlow;

Expand Down Expand Up @@ -40,10 +40,10 @@ pub struct Product {
pub struct Transport {
pub id: String,
pub name: String,
pub impact_categories: Vec<ImpactCategoryKey>,
pub life_cycle_stages: Vec<LifeCycleStage>,
pub distance: f64,
pub distance_unit: Unit,
pub transport_epd: ImpactDataSource,
pub impact_data: ImpactDataSource,
}

#[derive(Deserialize, Serialize, JsonSchema, Clone)]
Expand Down

0 comments on commit fd17d3d

Please sign in to comment.