diff options
author | Adam T. Carpenter <atc@53hor.net> | 2021-04-02 18:23:45 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2021-04-02 18:23:45 -0400 |
commit | b1c45640a72300433800c8370657335616f8c541 (patch) | |
tree | ad7df1bfa6f59390ad227183364b308ab2137ed0 /src/models | |
parent | 7633bf5855ae5359d0fe280970e5c5c210c536b3 (diff) | |
download | twinh-b1c45640a72300433800c8370657335616f8c541.tar.xz twinh-b1c45640a72300433800c8370657335616f8c541.zip |
replaced mongo with sled, added some basic functional google oauth2 code
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)] |