Skip to content

Commit

Permalink
skip veh_kg and fc_eff_array
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Carow authored and Kyle Carow committed Feb 7, 2024
1 parent 3bb1a61 commit e263125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/fastsim-core/src/vehicle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ pub struct RustVehicle {
pub fc_kw_out_array: Vec<f64>,
#[doc(hidden)]
#[doc_field(skip_doc)]
#[serde(default)]
#[serde(default, skip_serializing)]
#[serde(alias = "fcEffArray")]
pub fc_eff_array: Vec<f64>,
#[doc(hidden)]
Expand Down Expand Up @@ -426,7 +426,7 @@ pub struct RustVehicle {
pub mc_full_eff_array: Vec<f64>,
#[doc(hidden)]
#[doc_field(skip_doc)]
#[serde(alias = "vehKg")]
#[serde(skip)]
pub veh_kg: f64,
#[doc(hidden)]
#[doc_field(skip_doc)]
Expand Down

0 comments on commit e263125

Please sign in to comment.