Skip to content

Commit

Permalink
Improved seat massager sample
Browse files Browse the repository at this point in the history
  • Loading branch information
ashbeitz committed Mar 2, 2024
1 parent 3c0938f commit d69eb89
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions digital-twin-model/src/sdv_v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,9 @@ pub mod seat_massager {
#[derivative(Default(value = "crate::sdv_v2::context()"))]
pub context: Vec<String>,
#[serde(rename = "@type")]
#[derivative(Default(value = "crate::sdv_v2::seat_massager::sequence_names::ID.to_string()"))]
#[derivative(Default(
value = "crate::sdv_v2::seat_massager::sequence_names::ID.to_string()"
))]
pub model_id: String,
pub sequence_names: Vec<String>,
}
Expand Down Expand Up @@ -490,7 +492,9 @@ pub mod vehicle {
#[derivative(Default(value = "crate::sdv_v2::context()"))]
pub context: Vec<String>,
#[serde(rename = "@type")]
#[derivative(Default(value = "crate::sdv_v2::vehicle::vehicle_identification::ID.to_string()"))]
#[derivative(Default(
value = "crate::sdv_v2::vehicle::vehicle_identification::ID.to_string()"
))]
pub model_id: String,
pub vin: crate::sdv_v2::vehicle::vehicle_identification::vin::TYPE,
}
Expand Down

0 comments on commit d69eb89

Please sign in to comment.