fix ci
This commit is contained in:
parent
aeefd9e43f
commit
d5033ccf44
@ -1,6 +1,5 @@
|
|||||||
use chrono::serde;
|
use rocket::serde::{Deserialize, Serialize};
|
||||||
use rocket::FromForm;
|
use rocket::FromForm;
|
||||||
use serde::{Deserialize, Serialize};
|
|
||||||
use sqlx::{FromRow, SqlitePool};
|
use sqlx::{FromRow, SqlitePool};
|
||||||
|
|
||||||
#[derive(FromRow, Debug, Serialize, Deserialize)]
|
#[derive(FromRow, Debug, Serialize, Deserialize)]
|
||||||
@ -20,12 +19,14 @@ pub struct Boat {
|
|||||||
external: bool,
|
external: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Serialize, Deserialize)]
|
||||||
pub enum BoatDamage {
|
pub enum BoatDamage {
|
||||||
None,
|
None,
|
||||||
Light,
|
Light,
|
||||||
Locked,
|
Locked,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Serialize, Deserialize)]
|
||||||
pub struct BoatWithDetails {
|
pub struct BoatWithDetails {
|
||||||
#[serde(flatten)]
|
#[serde(flatten)]
|
||||||
boat: Boat,
|
boat: Boat,
|
||||||
|
Loading…
Reference in New Issue
Block a user