diff options
Diffstat (limited to 'src/models')
-rw-r--r-- | src/models/mod.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/models/mod.rs b/src/models/mod.rs index 1a4d1df..5830a1b 100644 --- a/src/models/mod.rs +++ b/src/models/mod.rs @@ -2,12 +2,13 @@ use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize)] pub struct Car { - year: u16, // I'll worry about this in 65534 AD. + doors: u8, + engine: Engine, make: String, model: String, - engine: Engine, - doors: u8, transmission: Transmission, + trim: String, + year: u16, // I'll worry about this in 65534 AD. } #[derive(Serialize, Deserialize)] |