From b1c45640a72300433800c8370657335616f8c541 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Fri, 2 Apr 2021 18:23:45 -0400 Subject: replaced mongo with sled, added some basic functional google oauth2 code --- src/models/mod.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/models') 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)] -- cgit v1.2.3